diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-07-06 17:13:33 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-07-08 12:02:19 +0200 |
commit | b2c7e0dd69287a5c2386c5fb37887c43b1e167fa (patch) | |
tree | 35d447dfb9917dd1e7370916c11258e0c68db280 | |
parent | 915c006a301a69fc7d642e04aaa9f83be46c1b1c (diff) | |
download | libssh-b2c7e0dd69287a5c2386c5fb37887c43b1e167fa.tar.gz libssh-b2c7e0dd69287a5c2386c5fb37887c43b1e167fa.tar.xz libssh-b2c7e0dd69287a5c2386c5fb37887c43b1e167fa.zip |
cmake: We don't have to define the ssh link libraries
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/fuzz/CMakeLists.txt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index aeb0b17c..8ee2deef 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -18,8 +18,7 @@ include_directories( set(TORTURE_LINK_LIBRARIES ${CMOCKA_LIBRARY} - ${LIBSSH_STATIC_LIBRARY} - ${LIBSSH_LINK_LIBRARIES}) + ${LIBSSH_STATIC_LIBRARY}) # create test library add_library(${TORTURE_LIBRARY} diff --git a/tests/fuzz/CMakeLists.txt b/tests/fuzz/CMakeLists.txt index bf920e73..a12e4c6c 100644 --- a/tests/fuzz/CMakeLists.txt +++ b/tests/fuzz/CMakeLists.txt @@ -4,8 +4,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") add_executable(ssh_server_fuzzer ssh_server_fuzzer.cpp) target_link_libraries(ssh_server_fuzzer PRIVATE - ${LIBSSH_STATIC_LIBRARY} - ${LIBSSH_LINK_LIBRARIES}) + ${LIBSSH_STATIC_LIBRARY}) set_target_properties(ssh_server_fuzzer PROPERTIES COMPILE_FLAGS "-fsanitize=fuzzer" |