aboutsummaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-05-04 14:25:29 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-05-04 14:25:46 +0200
commitd5068ed07dfa58f22ffc4b9a86c8fbd815f9e049 (patch)
treec2fc50bfdda24bc5784d44c30660bbcb65e08fc7 /examples/CMakeLists.txt
parentbc2db86d1c8a974cdfa412f9f6c250893ed9a66c (diff)
downloadlibssh-d5068ed07dfa58f22ffc4b9a86c8fbd815f9e049.tar.gz
libssh-d5068ed07dfa58f22ffc4b9a86c8fbd815f9e049.tar.xz
libssh-d5068ed07dfa58f22ffc4b9a86c8fbd815f9e049.zip
examples: Fix endif()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index a4a19524..e0f4878d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -50,7 +50,7 @@ if (UNIX AND NOT WIN32)
add_executable(samplesshd-kbdint samplesshd-kbdint.c)
target_link_libraries(samplesshd-kbdint ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARY})
- endif (WITH_SERVER)
+ endif (WITH_SERVER AND ARGP_LIBRARY)
endif (UNIX AND NOT WIN32)
add_executable(exec exec.c ${examples_SRCS})