aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2016-03-14 22:27:06 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2016-03-14 22:27:06 +0100
commit50276273448d042084ee44bc0cfae152c8abc110 (patch)
treeb166a4571a0d916e0931bc9322a994ffbd988b41 /examples
parent4d43fbfb50710055352c4fda812b6dc98143d336 (diff)
downloadlibssh-50276273448d042084ee44bc0cfae152c8abc110.tar.gz
libssh-50276273448d042084ee44bc0cfae152c8abc110.tar.xz
libssh-50276273448d042084ee44bc0cfae152c8abc110.zip
cmake: detect argp.h on osx
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 4998f041..6f9d6ef3 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -8,13 +8,10 @@ set(examples_SRCS
include_directories(
${LIBSSH_PUBLIC_INCLUDE_DIRS}
+ ${ARGP_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}
)
-if (BSD OR SOLARIS OR OSX)
- find_package(Argp)
-endif (BSD OR SOLARIS OR OSX)
-
if (UNIX AND NOT WIN32)
add_executable(libssh_scp libssh_scp.c ${examples_SRCS})
target_link_libraries(libssh_scp ${LIBSSH_SHARED_LIBRARY})