aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-03 00:39:20 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-04 20:08:04 +0100
commit9cd5e97596aa10f349e960fb3ff5ca95634a1200 (patch)
treeae174eeb039cf535da97f912edda9992b27399e4 /tests
parent9f59be3224c1dcc34bd43c0bfea6b37f8e6f9bbf (diff)
downloadlibssh-9cd5e97596aa10f349e960fb3ff5ca95634a1200.tar.gz
libssh-9cd5e97596aa10f349e960fb3ff5ca95634a1200.tar.xz
libssh-9cd5e97596aa10f349e960fb3ff5ca95634a1200.zip
Fixed linking of the tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 02f40fb4..817d3a73 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -12,8 +12,8 @@ include_directories(
# create test library
add_library(${TORTURE_LIBRARY} SHARED torture.c cmdline.c)
-target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBRARY})
+target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBRARY} ${LIBSSH_LINK_LIBRARIES})
-set(TEST_TARGET_LIBRARIES ${SUPPORT_LIBRARY})
+set(TEST_TARGET_LIBRARIES ${SUPPORT_LIBRARY} ${LIBSSH_LINK_LIBRARIES})
add_subdirectory(unittests)