diff options
| author | Alisayyy-Yang <v-aliyan@microsoft.com> | 2018-03-26 23:43:48 -0700 |
|---|---|---|
| committer | Alisayyy-Yang <v-aliyan@microsoft.com> | 2018-03-26 23:43:48 -0700 |
| commit | 4596c6436168c9ff80ef971d75853752c7462479 (patch) | |
| tree | b0cb9103f9180a6a082c296110e2d0104631d77a | |
| parent | 64ab9dc274c352f9999f2cc4e8f7f6830cc56c42 (diff) | |
| download | vcpkg-4596c6436168c9ff80ef971d75853752c7462479.tar.gz vcpkg-4596c6436168c9ff80ef971d75853752c7462479.zip | |
force static build when dynamic for the yoga
| -rw-r--r-- | ports/yoga/portfile.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/yoga/portfile.cmake b/ports/yoga/portfile.cmake index e6dc1c709..d61017d63 100644 --- a/ports/yoga/portfile.cmake +++ b/ports/yoga/portfile.cmake @@ -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() |
