diff options
Diffstat (limited to 'tls')
-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..442a57a 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -101,8 +101,7 @@ endif(ENABLE_LIBRESSL_INSTALL) | |||
101 | 101 | ||
102 | # build static library for regression test | 102 | # build static library for regression test |
103 | if(BUILD_SHARED_LIBS) | 103 | if(BUILD_SHARED_LIBS) |
104 | add_library(tls-static STATIC $<TARGET_OBJECTS:tls_obj> | 104 | add_library(tls-static STATIC $<TARGET_OBJECTS:tls_obj>) |
105 | $<TARGET_OBJECTS:ssl_obj> $<TARGET_OBJECTS:crypto_obj>) | 105 | target_link_libraries(tls-static ${OPENSSL_TEST_LIBS}) |
106 | target_link_libraries(tls-static ${PLATFORM_LIBS}) | ||
107 | endif() | 106 | endif() |
108 | 107 | ||