···11+diff --git a/CMakeLists.txt b/CMakeLists.txt
22+index 63764a75..46db60f4 100644
33+--- a/CMakeLists.txt
44++++ b/CMakeLists.txt
55+@@ -339,9 +339,6 @@ endif()
66+ # Apple has to use static libraries because
77+ # "Use of the Apple-provided OpenSSL libraries by apps is strongly discouraged."
88+ # https://developer.apple.com/library/archive/documentation/Security/Conceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCommunicationAPIs.html
99+-if(APPLE OR DEFINED ENV{SYNERGY_STATIC_OPENSSL})
1010+- set(OPENSSL_USE_STATIC_LIBS TRUE)
1111+-endif()
1212+ find_package(OpenSSL REQUIRED)
1313+1414+ #