mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 15:27:51 +08:00
bfc0f48833
* [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
17 lines
484 B
Diff
17 lines
484 B
Diff
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)
|