Merge pull request #3131 from Alisayyy-Yang/fixYoga

force static build when dynamic for the yoga
This commit is contained in:
Alexander Karatarakis 2018-03-29 14:04:47 -07:00 committed by GitHub
commit 0a37c239bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
message(FATAL_ERROR "Error: Dynamic building not supported yet.") message(WARNING "Dynamic not supported building static")
set(VCPKG_LIBRARY_LINKAGE static)
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
message(FATAL_ERROR "Error: UWP builds not supported yet.") message(FATAL_ERROR "Error: UWP builds not supported yet.")
endif() endif()