From 6969cf036e866b88a5d6ed88d876ced85486c5a9 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Tue, 15 Sep 2020 20:55:40 +0900 Subject: Fix regress build --- tests/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5628430..89e670f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -124,10 +124,12 @@ if(NOT BUILD_SHARED_LIBS) add_test(cipher_list cipher_list) endif() -# cipherstest -add_executable(cipherstest cipherstest.c) -target_link_libraries(cipherstest ${OPENSSL_LIBS}) -add_test(cipherstest cipherstest) +if(NOT BUILD_SHARED_LIBS) + # cipherstest + add_executable(cipherstest cipherstest.c) + target_link_libraries(cipherstest ${OPENSSL_LIBS}) + add_test(cipherstest cipherstest) +endif() # clienttest # disabled -- cgit v1.2.3-55-g6feb