diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-11-07 00:07:51 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-11-07 00:07:51 +0900 |
commit | 04150e635c1f32a7187690df70bb2bd74c789c83 (patch) | |
tree | 7bdaba1b1dd828701b62773eb480e6ec85273e73 | |
parent | 4e221632b1048f92c2bf4324fb1103635bbbb290 (diff) | |
download | portable-04150e635c1f32a7187690df70bb2bd74c789c83.tar.gz portable-04150e635c1f32a7187690df70bb2bd74c789c83.tar.bz2 portable-04150e635c1f32a7187690df70bb2bd74c789c83.zip |
fix cmake to link static crypto library for regression tests
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
14 | foreach(lib IN LISTS OPENSSL_LIBS) | 14 | foreach(lib IN LISTS OPENSSL_LIBS) |
15 | if(${lib} STREQUAL "ssl-shared") | 15 | if(${lib} STREQUAL "ssl-shared") |
16 | set(TESTS_LIBS ${TESTS_LIBS} ssl) | 16 | set(TESTS_LIBS ${TESTS_LIBS} ssl) |
17 | elseif(${lib} STREQUAL "crypto-shared") | ||
18 | set(TESTS_LIBS ${TESTS_LIBS} crypto) | ||
17 | else() | 19 | else() |
18 | set(TESTS_LIBS ${TESTS_LIBS} ${lib}) | 20 | set(TESTS_LIBS ${TESTS_LIBS} ${lib}) |
19 | endif() | 21 | endif() |