aboutsummaryrefslogtreecommitdiff
path: root/ports/xeus/Fix-static-build.patch
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-09-28 08:33:19 +0800
committerGitHub <noreply@github.com>2020-09-27 17:33:19 -0700
commitbfc0f488335725763b5e966641cbec738aa7a485 (patch)
treeccb508769ecbd3611bcf1034e1befae8a3702290 /ports/xeus/Fix-static-build.patch
parentae82a554f80e49f29d528f6ec395211ea0b7939b (diff)
downloadvcpkg-bfc0f488335725763b5e966641cbec738aa7a485.tar.gz
vcpkg-bfc0f488335725763b5e966641cbec738aa7a485.zip
[libyaml/sqlpp11/xeus/uvatlas/xxhash] Update to the latest version (#13657)
* [many ports] Update to the latest version * [xeus] Fix static build * [usd] Revert change * [xeus] Fix build error * [sqlpp11] Update latest version * [libyaml] Fix build error on Linux * [sqlpp11] Fix build error
Diffstat (limited to 'ports/xeus/Fix-static-build.patch')
-rw-r--r--ports/xeus/Fix-static-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/xeus/Fix-static-build.patch b/ports/xeus/Fix-static-build.patch
new file mode 100644
index 000000000..4caf0138f
--- /dev/null
+++ b/ports/xeus/Fix-static-build.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d02b5d6..6484131 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -244,7 +244,10 @@ macro(xeus_create_target target_name linkage output_name)
+ PUBLIC xtl
+ )
+
+- target_link_libraries(${target_name} PUBLIC OpenSSL::Crypto)
++ if (MSVC)
++ target_link_libraries(OpenSSL::Crypto INTERFACE crypt32)
++ endif ()
++ target_link_libraries(${target_name} PUBLIC OpenSSL::Crypto)
+
+ if (NOT MSVC)
+ if (APPLE)