Merge pull request #3130 from Alisayyy-Yang/fixrecast

force static build when dynamic about recast
This commit is contained in:
Alexander Karatarakis 2018-03-29 14:05:51 -07:00 committed by GitHub
commit a9e91af50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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