aboutsummaryrefslogtreecommitdiff
path: root/ports/box2d
diff options
context:
space:
mode:
Diffstat (limited to 'ports/box2d')
-rw-r--r--ports/box2d/CONTROL6
-rw-r--r--ports/box2d/portfile.cmake5
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/box2d/CONTROL b/ports/box2d/CONTROL
index 220a5a058..943b1ec94 100644
--- a/ports/box2d/CONTROL
+++ b/ports/box2d/CONTROL
@@ -1,3 +1,3 @@
-Source: box2d
-Version: 2.3.1-374664b-1
-Description: Box2D (http://box2d.org) is an open source C++ engine for simulating rigid bodies in 2D.
+Source: box2d
+Version: 2.3.1-374664b-2
+Description: Box2D (http://box2d.org) is an open source C++ engine for simulating rigid bodies in 2D.
diff --git a/ports/box2d/portfile.cmake b/ports/box2d/portfile.cmake
index c35f37444..24da7f143 100644
--- a/ports/box2d/portfile.cmake
+++ b/ports/box2d/portfile.cmake
@@ -1,9 +1,6 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
- message("Box2D only supports building as a static library")
- set(VCPKG_LIBRARY_LINKAGE "static")
-endif()
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH