mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Fixed unit testing.
This commit is contained in:
@@ -12,7 +12,7 @@ include_directories(
|
||||
|
||||
# create test library
|
||||
add_library(${TORTURE_LIBRARY} SHARED torture.c cmdline.c)
|
||||
target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_LIBRARY})
|
||||
target_link_libraries(${TORTURE_LIBRARY} ${CHECK_LIBRARIES} ${LIBSSH_STATIC_LIBRARY})
|
||||
|
||||
set(TEST_TARGET_LIBRARIES ${SUPPORT_LIBRARY})
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <pwd.h>
|
||||
|
||||
#define LIBSSH_STATIC
|
||||
#include <libssh/priv.h>
|
||||
|
||||
#include "torture.h"
|
||||
|
||||
Reference in New Issue
Block a user