Fixed linking of the tests.

This commit is contained in:
Andreas Schneider
2010-03-03 00:39:20 +01:00
parent 9f59be3224
commit 9cd5e97596
2 changed files with 7 additions and 2 deletions

View File

@@ -67,6 +67,11 @@ if (GCRYPT_LIBRARY)
)
endif (GCRYPT_LIBRARY)
set(LIBSSH_LINK_LIBRARIES
${LIBSSH_LINK_LIBRARIES}
CACHE INTERNAL "libssh link libraries"
)
set(libssh_SRCS
agent.c
auth.c

View File

@@ -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)