diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ef9070b..bcd17f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -347,6 +347,15 @@ add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T}) | |||
347 | set(OPENSSL_LIBS ssl crypto ${PLATFORM_LIBS}) | 347 | set(OPENSSL_LIBS ssl crypto ${PLATFORM_LIBS}) |
348 | set(LIBTLS_LIBS tls ${PLATFORM_LIBS}) | 348 | set(LIBTLS_LIBS tls ${PLATFORM_LIBS}) |
349 | 349 | ||
350 | # libraries for regression test | ||
351 | if(BUILD_SHARED_LIBS) | ||
352 | set(OPENSSL_TEST_LIBS ssl-static crypto-static ${PLATFORM_LIBS}) | ||
353 | set(LIBTLS_TEST_LIBS tls-static ${PLATFORM_LIBS}) | ||
354 | else() | ||
355 | set(OPENSSL_TEST_LIBS ssl crypto ${PLATFORM_LIBS}) | ||
356 | set(LIBTLS_TEST_LIBS tls ${PLATFORM_LIBS}) | ||
357 | endif() | ||
358 | |||
350 | add_subdirectory(crypto) | 359 | add_subdirectory(crypto) |
351 | add_subdirectory(ssl) | 360 | add_subdirectory(ssl) |
352 | if(LIBRESSL_APPS) | 361 | if(LIBRESSL_APPS) |