15 lines
571 B
Diff
15 lines
571 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 63764a75..46db60f4 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -339,9 +339,6 @@ endif()
|
||
|
# Apple has to use static libraries because
|
||
|
# "Use of the Apple-provided OpenSSL libraries by apps is strongly discouraged."
|
||
|
# https://developer.apple.com/library/archive/documentation/Security/Conceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCommunicationAPIs.html
|
||
|
-if(APPLE OR DEFINED ENV{SYNERGY_STATIC_OPENSSL})
|
||
|
- set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||
|
-endif()
|
||
|
find_package(OpenSSL REQUIRED)
|
||
|
|
||
|
#
|