mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +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
|
# create test library
|
||||||
add_library(${TORTURE_LIBRARY} STATIC cmdline.c torture.c)
|
add_library(${TORTURE_LIBRARY} STATIC cmdline.c torture.c)
|
||||||
if (ARGP_LIBRARY)
|
|
||||||
target_link_libraries(${TORTURE_LIBRARY}
|
target_link_libraries(${TORTURE_LIBRARY}
|
||||||
${TORTURE_LINK_LIBRARIES}
|
${TORTURE_LINK_LIBRARIES}
|
||||||
|
)
|
||||||
|
if (ARGP_LIBRARY)
|
||||||
|
target_link_libraries(${TORTURE_LIBRARY}
|
||||||
${ARGP_LIBRARY}
|
${ARGP_LIBRARY}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user