diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f2ee53a..d3235ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,8 @@ message("Generated with config types: ${CMAKE_CONFIGURATION_TYPES}, and built ty enable_testing() find_package(OpenSSL REQUIRED) +set(OPENSSL_USE_STATIC_LIBS TRUE) # link statically + if(APPLE) set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10.5)