mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 20:33:03 +08:00
Merge pull request #3131 from Alisayyy-Yang/fixYoga
force static build when dynamic for the yoga
This commit is contained in:
commit
0a37c239bf
@ -12,7 +12,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
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)
|
||||
message(FATAL_ERROR "Error: UWP builds not supported yet.")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user