aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-06 14:54:16 +0200
committerAndreas Schneider <asn@cynapses.org>2010-09-06 15:17:03 +0200
commitfbe102bada583f308450c27e256053b51643a532 (patch)
treea855a670d43df50647b5f90a89e15c093f26793f /tests/CMakeLists.txt
parent2cca490076841b431d7a83d020d90e1ad00bbca5 (diff)
downloadlibssh-fbe102bada583f308450c27e256053b51643a532.tar.gz
libssh-fbe102bada583f308450c27e256053b51643a532.tar.xz
libssh-fbe102bada583f308450c27e256053b51643a532.zip
threads: Build a libssh threading library.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 64811e29..8d1cb1e0 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -16,7 +16,13 @@ include_directories(
# create test library
add_library(${TORTURE_LIBRARY} SHARED torture.c cmdline.c)
-target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBRARY} ${LIBSSH_LINK_LIBRARIES} ${ARGP_LIBRARIES})
+target_link_libraries(${TORTURE_LIBRARY}
+ ${CHECK_LIBRARIES}
+ ${LIBSSH_STATIC_LIBRARY}
+ ${LIBSSH_THREADS_STATIC_LIBRARY}
+ ${LIBSSH_LINK_LIBRARIES}
+ ${ARGP_LIBRARIES}
+)
set(TEST_TARGET_LIBRARIES ${SUPPORT_LIBRARY} ${LIBSSH_LINK_LIBRARIES})