···1+diff --git a/CMakeLists.txt b/CMakeLists.txt
2+index 63764a75..46db60f4 100644
3+--- a/CMakeLists.txt
4++++ b/CMakeLists.txt
5+@@ -339,9 +339,6 @@ endif()
6+ # Apple has to use static libraries because
7+ # "Use of the Apple-provided OpenSSL libraries by apps is strongly discouraged."
8+ # https://developer.apple.com/library/archive/documentation/Security/Conceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCommunicationAPIs.html
9+-if(APPLE OR DEFINED ENV{SYNERGY_STATIC_OPENSSL})
10+- set(OPENSSL_USE_STATIC_LIBS TRUE)
11+-endif()
12+ find_package(OpenSSL REQUIRED)
13+14+ #