diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-08-29 21:50:55 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-29 21:51:42 +0200 |
commit | 66a0f14a0c245f7209e7f2c81a2c1c8b10f2c8e7 (patch) | |
tree | f1d770c4902d80aad2f37d84470988d72b887e6b | |
parent | aba6e34b63428dc692f3ab905c27315a0d4fe5a1 (diff) | |
download | libssh-66a0f14a0c245f7209e7f2c81a2c1c8b10f2c8e7.tar.gz libssh-66a0f14a0c245f7209e7f2c81a2c1c8b10f2c8e7.tar.xz libssh-66a0f14a0c245f7209e7f2c81a2c1c8b10f2c8e7.zip |
cmake: Only support building docs the on cmake >= 3.9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | doc/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 59a23438..4b00123b 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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 |