aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/recast/portfile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/recast/portfile.cmake b/ports/recast/portfile.cmake
index 9c26131da..8543fe5c3 100644
--- a/ports/recast/portfile.cmake
+++ b/ports/recast/portfile.cmake
@@ -1,5 +1,10 @@
include(vcpkg_common_functions)
+if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ message(WARNING "Dynamic not supported .")
+ set(VCPKG_LIBRARY_LINKAGE static)
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO recastnavigation/recastnavigation