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:
@@ -1,6 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Build the documentation
|
# Build the documentation
|
||||||
#
|
#
|
||||||
|
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.9.0")
|
||||||
|
|
||||||
find_package(Doxygen)
|
find_package(Doxygen)
|
||||||
|
|
||||||
if (DOXYGEN_FOUND)
|
if (DOXYGEN_FOUND)
|
||||||
@@ -39,4 +41,6 @@ if (DOXYGEN_FOUND)
|
|||||||
${CMAKE_SOURCE_DIR}/include/libssh
|
${CMAKE_SOURCE_DIR}/include/libssh
|
||||||
${CMAKE_SOURCE_DIR}/src
|
${CMAKE_SOURCE_DIR}/src
|
||||||
${CMAKE_CURRENT_SOURCE_DIR})
|
${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
endif()
|
endif() # DOXYGEN_FOUND
|
||||||
|
|
||||||
|
endif() # CMAKE_VERSION
|
||||||
|
Reference in New Issue
Block a user