aboutsummaryrefslogtreecommitdiff
path: root/ports/redshell
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-09 19:34:07 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-09 19:34:07 -0700
commit9a642ade4e7a605e7d11b693e471990d5c6468ed (patch)
tree9fb4124e1686760cf1901deff9a0f46c792d91d6 /ports/redshell
parent2071719138cac9f2e943b129e5a19bef6f16f930 (diff)
downloadvcpkg-9a642ade4e7a605e7d11b693e471990d5c6468ed.tar.gz
vcpkg-9a642ade4e7a605e7d11b693e471990d5c6468ed.zip
[box2d][directxmesh][directxtex][directxtk][directxtk12][dxut][entityx][octomap][pdcurses][redshell][rttr][tbb][uvatlas] Improve constraint checking
Diffstat (limited to 'ports/redshell')
-rw-r--r--ports/redshell/portfile.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/redshell/portfile.cmake b/ports/redshell/portfile.cmake
index c394d7013..d7fbec955 100644
--- a/ports/redshell/portfile.cmake
+++ b/ports/redshell/portfile.cmake
@@ -8,6 +8,15 @@ if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
message(FATAL_ERROR "Error: redshell does not support UWP builds.")
endif()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ message("Redshell only supports dynamic library linkage")
+ set(VCPKG_LIBRARY_LINKAGE "dynamic")
+endif()
+
+if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ message(FATAL_ERROR "Redshell only supports dynamic CRT linkage")
+endif()
+
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/redshell)
vcpkg_from_github(