We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a953ec6 commit d471f4bCopy full SHA for d471f4b
1 file changed
src/Doxygen.cmake
@@ -79,7 +79,11 @@ function(enable_doxygen DOXYGEN_THEME)
79
endif()
80
81
# find doxygen and dot if available
82
- find_package(Doxygen REQUIRED OPTIONAL_COMPONENTS dot)
+ find_package(Doxygen OPTIONAL_COMPONENTS dot)
83
+ if (NOT Doxygen_FOUND)
84
+ message(WARNING "Doxygen not found, install doxygen and try again. Documentation will not be generated.")
85
+ return()
86
+ endif()
87
88
# add doxygen-docs target
89
message(STATUS "Adding `doxygen-docs` target that builds the documentation.")
0 commit comments