From 697d51cd936ecb35ad10d03db62cbaac12906344 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Sep 2010 16:32:54 +0200 Subject: build: Make sure to link against all required thread libraries. --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 458c42fd..e6c88ab3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -19,8 +19,9 @@ add_library(${TORTURE_LIBRARY} SHARED torture.c cmdline.c) target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBRARY} - ${LIBSSH_THREADS_STATIC_LIBRARY} ${LIBSSH_LINK_LIBRARIES} + ${LIBSSH_THREADS_STATIC_LIBRARY} + ${LIBSSH_THREADS_LINK_LIBRARIES} ${ARGP_LIBRARIES} ) -- cgit