aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2019-02-07 19:16:03 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2019-02-07 19:16:03 +0100
commitf890b09edbedf1f27284ebcd1fc7770641cb2231 (patch)
tree3881b18f9d6c140dda76313d33daad66363d8455
parenta1559505a5616a399053fb9afe1ba0b876ac79bd (diff)
downloadlibssh-f890b09edbedf1f27284ebcd1fc7770641cb2231.tar.gz
libssh-f890b09edbedf1f27284ebcd1fc7770641cb2231.tar.xz
libssh-f890b09edbedf1f27284ebcd1fc7770641cb2231.zip
cmake: fix build problem on ubuntu 18.04
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be>
-rw-r--r--tests/server/test_server/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/test_server/CMakeLists.txt b/tests/server/test_server/CMakeLists.txt
index c8a37275..cc8ed6f0 100644
--- a/tests/server/test_server/CMakeLists.txt
+++ b/tests/server/test_server/CMakeLists.txt
@@ -29,10 +29,10 @@ if (UNIX AND NOT WIN32)
add_executable(test_server ${server_SRCS})
target_compile_options(test_server PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
target_link_libraries(test_server
+ testserver
${LIBSSH_SHARED_LIBRARY}
${ARGP_LIBRARY}
- util
- testserver)
+ util)
endif ()
endif (WITH_SERVER AND UNIX AND NOT WIN32)