1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

cmake: Only support building docs the on cmake >= 3.9

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-08-29 21:50:55 +02:00
parent aba6e34b63
commit 66a0f14a0c

View File

@@ -1,6 +1,8 @@
#
# Build the documentation
#
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.9.0")
find_package(Doxygen)
if (DOXYGEN_FOUND)
@@ -39,4 +41,6 @@ if (DOXYGEN_FOUND)
${CMAKE_SOURCE_DIR}/include/libssh
${CMAKE_SOURCE_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR})
endif()
endif() # DOXYGEN_FOUND
endif() # CMAKE_VERSION