mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
cmake: Fix torture build
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -31,9 +31,11 @@ endif (LIBSSH_THREADS)
|
||||
|
||||
# create test library
|
||||
add_library(${TORTURE_LIBRARY} STATIC cmdline.c torture.c)
|
||||
if (ARGP_LIBRARY)
|
||||
target_link_libraries(${TORTURE_LIBRARY}
|
||||
${TORTURE_LINK_LIBRARIES}
|
||||
)
|
||||
if (ARGP_LIBRARY)
|
||||
target_link_libraries(${TORTURE_LIBRARY}
|
||||
${ARGP_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user