aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Johnson <AdamJohnso@gmail.com>2020-08-10 12:34:35 -0400
committerGitHub <noreply@github.com>2020-08-10 09:34:35 -0700
commited474ea9344a39d917e2b0719192502650cbd536 (patch)
tree9727eb96ecfc31f8fdea29b59c9f3b4abbe3a3dd
parent6234487442308afe7829dfd20a058b6e15a92db6 (diff)
downloadvcpkg-ed474ea9344a39d917e2b0719192502650cbd536.tar.gz
vcpkg-ed474ea9344a39d917e2b0719192502650cbd536.zip
[physx] Add support for checked and profile builds. (#12710)
-rw-r--r--ports/physx/CONTROL2
-rw-r--r--ports/physx/portfile.cmake4
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/physx/CONTROL b/ports/physx/CONTROL
index 3f813e5e2..7b8c12c2a 100644
--- a/ports/physx/CONTROL
+++ b/ports/physx/CONTROL
@@ -1,5 +1,5 @@
Source: physx
Version: 4.1.1
-Port-Version: 4
+Port-Version: 5
Description: The NVIDIA PhysX SDK is a scalable multi-platform physics solution supporting a wide range of devices, from smartphones to high-end multicore CPUs and GPUs
Supports: !uwp
diff --git a/ports/physx/portfile.cmake b/ports/physx/portfile.cmake
index e9b513c9b..2dcb5bdc1 100644
--- a/ports/physx/portfile.cmake
+++ b/ports/physx/portfile.cmake
@@ -109,7 +109,9 @@ vcpkg_execute_required_process(
LOGNAME build-${TARGET_TRIPLET}
)
-set(RELEASE_CONFIGURATION "release")
+if(NOT DEFINED RELEASE_CONFIGURATION)
+ set(RELEASE_CONFIGURATION "release")
+endif()
set(DEBUG_CONFIGURATION "debug")
vcpkg_build_msbuild(