From 9cd5e97596aa10f349e960fb3ff5ca95634a1200 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 3 Mar 2010 00:39:20 +0100 Subject: Fixed linking of the tests. --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit