fix the regressions blocking doxygen documentation generation
This commit is contained in:
committed by
Robert Schmidt
parent
f7c3874e20
commit
00d1114fa3
@@ -0,0 +1,15 @@
|
||||
|
||||
find_package(Doxygen QUIET)
|
||||
|
||||
if(DOXYGEN_FOUND)
|
||||
configure_file(Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
||||
add_custom_target(doc
|
||||
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
||||
COMMENT "Generating API documentation with Doxygen" VERBATIM
|
||||
)
|
||||
else()
|
||||
add_custom_target(doc
|
||||
message(FATAL_ERROR "required to generate doxygen documentation but doxygen not installed")
|
||||
)
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user