aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-03-29 14:04:47 -0700
committerGitHub <noreply@github.com>2018-03-29 14:04:47 -0700
commit0a37c239bf951e4e6312a1e915a631e0c8b5debe (patch)
treec6d3c55ec68c98ce6860bf791aec8c72239fd1e7
parente48a58b2712f060df1a5301c1d7fd2e7ae282858 (diff)
parent4596c6436168c9ff80ef971d75853752c7462479 (diff)
downloadvcpkg-0a37c239bf951e4e6312a1e915a631e0c8b5debe.tar.gz
vcpkg-0a37c239bf951e4e6312a1e915a631e0c8b5debe.zip
Merge pull request #3131 from Alisayyy-Yang/fixYoga
force static build when dynamic for the yoga
-rw-r--r--ports/yoga/portfile.cmake3
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()