aboutsummaryrefslogtreecommitdiff
path: root/ports/entityx
diff options
context:
space:
mode:
Diffstat (limited to 'ports/entityx')
-rw-r--r--ports/entityx/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/entityx/portfile.cmake b/ports/entityx/portfile.cmake
index d7bcdbe1b..d35fb9da3 100644
--- a/ports/entityx/portfile.cmake
+++ b/ports/entityx/portfile.cmake
@@ -11,6 +11,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
+if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ message(FATAL_ERROR "Entityx only supports dynamic CRT linkage")
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/entityx-1.2.0)
vcpkg_download_distfile(ARCHIVE