aboutsummaryrefslogtreecommitdiff
path: root/ports/box2d
diff options
context:
space:
mode:
Diffstat (limited to 'ports/box2d')
-rw-r--r--ports/box2d/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/box2d/portfile.cmake b/ports/box2d/portfile.cmake
index 8bfc5fb54..c84c33387 100644
--- a/ports/box2d/portfile.cmake
+++ b/ports/box2d/portfile.cmake
@@ -7,6 +7,10 @@ elseif(TRIPLET_SYSTEM_ARCH MATCHES "arm")
message(FATAL_ERROR "ARM not supported")
endif(TRIPLET_SYSTEM_ARCH MATCHES "x86")
+if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ message(FATAL_ERROR "Box2d only supports dynamic CRT linkage")
+endif()
+
include(vcpkg_common_functions)
if(EXISTS "${CURRENT_BUILDTREES_DIR}/src/.git")