aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-03-17 10:42:52 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-03-17 10:42:52 +0100
commit2384236849001fcbbe4b15df237cca0e512f61f7 (patch)
tree185f01970182c34e0abbd0b7a73107bc5021810a /ConfigureChecks.cmake
parent252cd6eae92e19ac909a4354c42fca0f8c8b40a1 (diff)
downloadlibssh-2384236849001fcbbe4b15df237cca0e512f61f7.tar.gz
libssh-2384236849001fcbbe4b15df237cca0e512f61f7.tar.xz
libssh-2384236849001fcbbe4b15df237cca0e512f61f7.zip
cmake: Try to fix FindArgp module
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3d23bfd6..1f4c8376 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -48,7 +48,7 @@ endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)
# HEADER FILES
set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES})
-set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${ARGP_INCLUDE_DIRS})
+set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${ARGP_INCLUDE_DIR})
check_include_file(argp.h HAVE_ARGP_H)
set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE})