aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-11-06 09:06:05 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-07 14:01:01 +0100
commit8c36a865f267ca99562238f61c34e3578cb05098 (patch)
tree893278414b6bd797b8f464d313db1b30a1f5d73b /tests/fuzz
parent82c57c1f3656a1d501488174c14a03de5425cbbb (diff)
downloadlibssh-8c36a865f267ca99562238f61c34e3578cb05098.tar.gz
libssh-8c36a865f267ca99562238f61c34e3578cb05098.tar.xz
libssh-8c36a865f267ca99562238f61c34e3578cb05098.zip
cmake: Rename static library
This is only compiled for tests and fuzzers! Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'tests/fuzz')
-rw-r--r--tests/fuzz/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fuzz/CMakeLists.txt b/tests/fuzz/CMakeLists.txt
index d8663b51..bfbf9c4e 100644
--- a/tests/fuzz/CMakeLists.txt
+++ b/tests/fuzz/CMakeLists.txt
@@ -4,7 +4,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_executable(ssh_client_fuzzer ssh_client_fuzzer.cpp)
target_link_libraries(ssh_client_fuzzer
PRIVATE
- ${LIBSSH_STATIC_LIBRARY})
+ ssh::static)
set_target_properties(ssh_client_fuzzer
PROPERTIES
COMPILE_FLAGS "-fsanitize=fuzzer"
@@ -14,7 +14,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})
+ ssh::static)
set_target_properties(ssh_server_fuzzer
PROPERTIES
COMPILE_FLAGS "-fsanitize=fuzzer"