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 077f5ee..c3c9424 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -96,8 +96,7 @@ endif(ENABLE_LIBRESSL_INSTALL) | |||
96 | 96 | ||
97 | # build static library for regression test | 97 | # build static library for regression test |
98 | if(BUILD_SHARED_LIBS) | 98 | if(BUILD_SHARED_LIBS) |
99 | add_library(tls-static STATIC $<TARGET_OBJECTS:tls_obj> | 99 | add_library(tls-static STATIC $<TARGET_OBJECTS:tls_obj>) |
100 | $<TARGET_OBJECTS:ssl_obj> $<TARGET_OBJECTS:crypto_obj>) | 100 | target_link_libraries(tls-static ${OPENSSL_TEST_LIBS}) |
101 | target_link_libraries(tls-static ${PLATFORM_LIBS}) | ||
102 | endif() | 101 | endif() |
103 | 102 | ||