From 04150e635c1f32a7187690df70bb2bd74c789c83 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Mon, 7 Nov 2016 00:07:51 +0900 Subject: fix cmake to link static crypto library for regression tests --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 711a7d3..3edbe00 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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() -- cgit v1.2.3-55-g6feb