aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
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
415if(BUILD_SHARED_LIBS) 415if(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)
418else() 418else()
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)
421endif() 421endif()
422 422
423if(OPENSSLDIR STREQUAL "") 423if(OPENSSLDIR STREQUAL "")