diff options
Diffstat (limited to 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index e384808..1f78038 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -29,8 +29,8 @@ else() | |||
29 | add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\") | 29 | add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\") |
30 | endif() | 30 | endif() |
31 | 31 | ||
32 | add_library(tls-objects OBJECT ${TLS_SRC}) | ||
32 | if (BUILD_SHARED) | 33 | if (BUILD_SHARED) |
33 | add_library(tls-objects OBJECT ${TLS_SRC}) | ||
34 | add_library(tls STATIC $<TARGET_OBJECTS:tls-objects>) | 34 | add_library(tls STATIC $<TARGET_OBJECTS:tls-objects>) |
35 | add_library(tls-shared SHARED $<TARGET_OBJECTS:tls-objects>) | 35 | add_library(tls-shared SHARED $<TARGET_OBJECTS:tls-objects>) |
36 | if (WIN32) | 36 | if (WIN32) |