Link ssl statically
This commit is contained in:
parent
1c52911757
commit
880e1c189d
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue