diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac3e5a0..bba5a02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -413,11 +413,11 @@ set(LIBTLS_LIBS tls ${PLATFORM_LIBS}) | |||
413 | 413 | ||
414 | # libraries for regression test | 414 | # libraries for regression test |
415 | if(BUILD_SHARED_LIBS) | 415 | if(BUILD_SHARED_LIBS) |
416 | set(OPENSSL_TEST_LIBS ssl-static crypto-static ${PLATFORM_LIBS}) | 416 | set(OPENSSL_TEST_LIBS ssl-static crypto-static ${PLATFORM_LIBS} compat_obj) |
417 | set(LIBTLS_TEST_LIBS tls-static ${OPENSSL_TEST_LIBS}) | 417 | set(LIBTLS_TEST_LIBS tls-static ${OPENSSL_TEST_LIBS} tls_compat_obj) |
418 | else() | 418 | else() |
419 | set(OPENSSL_TEST_LIBS ssl crypto ${PLATFORM_LIBS}) | 419 | set(OPENSSL_TEST_LIBS ssl crypto ${PLATFORM_LIBS} compat_obj) |
420 | set(LIBTLS_TEST_LIBS tls ${PLATFORM_LIBS}) | 420 | set(LIBTLS_TEST_LIBS tls ${PLATFORM_LIBS} compat_obj tls_compat_obj) |
421 | endif() | 421 | endif() |
422 | 422 | ||
423 | if(OPENSSLDIR STREQUAL "") | 423 | if(OPENSSLDIR STREQUAL "") |