diff options
Diffstat (limited to 'ports/directxtk')
| -rw-r--r-- | ports/directxtk/portfile.cmake | 4 |
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 |
