diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2016-03-14 22:27:06 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2016-03-14 22:27:06 +0100 |
commit | 50276273448d042084ee44bc0cfae152c8abc110 (patch) | |
tree | b166a4571a0d916e0931bc9322a994ffbd988b41 /examples | |
parent | 4d43fbfb50710055352c4fda812b6dc98143d336 (diff) | |
download | libssh-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.txt | 5 |
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}) |