aboutsummaryrefslogtreecommitdiff
path: root/ports/directxtk
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/directxtk
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/directxtk')
-rw-r--r--ports/directxtk/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/directxtk/portfile.cmake b/ports/directxtk/portfile.cmake
index fc4418d75..5a751446c 100644
--- a/ports/directxtk/portfile.cmake
+++ b/ports/directxtk/portfile.cmake
@@ -3,6 +3,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
+if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ message(FATAL_ERROR "DirectXTk only supports dynamic CRT linkage")
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/DirectXTK-dec2016)
vcpkg_download_distfile(ARCHIVE