cmake: Use FindDoxygen package provided by cmake

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit a154bd9f22)
This commit is contained in:
Andreas Schneider
2018-08-21 12:07:13 +02:00
parent 2d3932d988
commit b5af3e74d7
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()