diff options
-rw-r--r-- | tls/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 4beef36..240dbf8 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -50,11 +50,10 @@ target_include_directories(tls_obj | |||
50 | ../include | 50 | ../include |
51 | ${CMAKE_BINARY_DIR}/include) | 51 | ${CMAKE_BINARY_DIR}/include) |
52 | 52 | ||
53 | add_library(tls $<TARGET_OBJECTS:tls_obj> $<TARGET_OBJECTS:ssl_obj> | 53 | add_library(tls $<TARGET_OBJECTS:tls_obj> empty.c) |
54 | $<TARGET_OBJECTS:crypto_obj> empty.c) | ||
55 | 54 | ||
56 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) | 55 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) |
57 | target_link_libraries(tls ${PLATFORM_LIBS}) | 56 | target_link_libraries(tls ${OPENSSL_LIBS}) |
58 | if (WIN32) | 57 | if (WIN32) |
59 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) | 58 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) |
60 | endif() | 59 | endif() |