From 9a642ade4e7a605e7d11b693e471990d5c6468ed Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 9 Jun 2017 19:34:07 -0700 Subject: [box2d][directxmesh][directxtex][directxtk][directxtk12][dxut][entityx][octomap][pdcurses][redshell][rttr][tbb][uvatlas] Improve constraint checking --- ports/redshell/portfile.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ports/redshell') 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( -- cgit v1.2.3