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>
(cherry picked from commit 8c36a865f2)
This commit is contained in:
Andreas Schneider
2019-11-06 09:06:05 +01:00
parent 9de970160d
commit 5de765ebd5
3 changed files with 13 additions and 10 deletions

View File

@@ -18,8 +18,7 @@ include_directories(
set(TORTURE_LINK_LIBRARIES
${CMOCKA_LIBRARY}
${LIBSSH_STATIC_LIBRARY}
${LIBSSH_LINK_LIBRARIES})
ssh::static)
# create test library
add_library(${TORTURE_LIBRARY}

View File

@@ -20,7 +20,7 @@ set(pkd_hello_src
set(pkd_libs
${CMOCKA_LIBRARY}
${LIBSSH_STATIC_LIBRARY}
ssh::static
${ARGP_LIBRARIES}
pthread
)