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

cmake: Use FindDoxygen package provided by cmake

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-08-21 12:07:13 +02:00
parent e618298bda
commit a154bd9f22
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
#
# Build the documentation
#
include(UseDoxygen OPTIONAL)
find_package(Doxygen)
if (DOXYGEN_FOUND)
doxygen_add_docs(docs
${CMAKE_CURRENT_SOURCE_DIR})
endif()