Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit fe4a4b1

Browse files
committed
cmake: Only support building docs the on cmake >= 3.9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 66a0f14)
1 parent 8caf653 commit fe4a4b1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

doc/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#
22
# Build the documentation
33
#
4+
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.9.0")
5+
46
find_package(Doxygen)
57

68
if (DOXYGEN_FOUND)
@@ -39,4 +41,6 @@ if (DOXYGEN_FOUND)
3941
${CMAKE_SOURCE_DIR}/include/libssh
4042
${CMAKE_SOURCE_DIR}/src
4143
${CMAKE_CURRENT_SOURCE_DIR})
42-
endif()
44+
endif() # DOXYGEN_FOUND
45+
46+
endif() # CMAKE_VERSION

0 commit comments

Comments
 (0)