diff options
Diffstat (limited to 'ports/directxtex')
| -rw-r--r-- | ports/directxtex/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/directxtex/portfile.cmake b/ports/directxtex/portfile.cmake index 70bb16658..392290c06 100644 --- a/ports/directxtex/portfile.cmake +++ b/ports/directxtex/portfile.cmake @@ -10,6 +10,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) set(VCPKG_LIBRARY_LINKAGE static)
endif()
+if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ message(FATAL_ERROR "DirectXTex only supports dynamic CRT linkage")
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/directxtex-dec2016)
vcpkg_download_distfile(ARCHIVE
|
