aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-03-29 14:05:51 -0700
committerGitHub <noreply@github.com>2018-03-29 14:05:51 -0700
commita9e91af50b31a17cc03084bc8b249368cf7abb3f (patch)
tree2ef754a024fef336e6c6a133f6ff7e0c1c9e91fd /ports
parent0a37c239bf951e4e6312a1e915a631e0c8b5debe (diff)
parent6e6f90c2731aa3f53ba0919b876e2c60a5931a38 (diff)
downloadvcpkg-a9e91af50b31a17cc03084bc8b249368cf7abb3f.tar.gz
vcpkg-a9e91af50b31a17cc03084bc8b249368cf7abb3f.zip
Merge pull request #3130 from Alisayyy-Yang/fixrecast
force static build when dynamic about recast
Diffstat (limited to 'ports')
-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..e0670dbae 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 building static")
+ set(VCPKG_LIBRARY_LINKAGE static)
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO recastnavigation/recastnavigation