fix cmake to link static crypto library for regression tests
This commit is contained in:
parent
4e221632b1
commit
04150e635c
@ -14,6 +14,8 @@ add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openss
|
||||
foreach(lib IN LISTS OPENSSL_LIBS)
|
||||
if(${lib} STREQUAL "ssl-shared")
|
||||
set(TESTS_LIBS ${TESTS_LIBS} ssl)
|
||||
elseif(${lib} STREQUAL "crypto-shared")
|
||||
set(TESTS_LIBS ${TESTS_LIBS} crypto)
|
||||
else()
|
||||
set(TESTS_LIBS ${TESTS_LIBS} ${lib})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user