Doc: [skip ci] fix check for doxygen
This commit is contained in:
@@ -39,6 +39,7 @@ ConfigureCMakeVariables()
|
||||
InitializeFreeCADBuildOptions()
|
||||
CheckInterModuleDependencies()
|
||||
FreeCADLibpackChecks()
|
||||
SetupDoxygen()
|
||||
if(NOT FREECAD_LIBPACK_USE OR FREECAD_LIBPACK_CHECKFILE_CLBUNDLER)
|
||||
SetupPython()
|
||||
SetupPCL()
|
||||
|
||||
12
cMake/FreeCAD_Helpers/SetupDoxygen.cmake
Normal file
12
cMake/FreeCAD_Helpers/SetupDoxygen.cmake
Normal file
@@ -0,0 +1,12 @@
|
||||
macro(SetupDoxygen)
|
||||
# -------------------------------- Doxygen ----------------------------------
|
||||
|
||||
find_package(Doxygen)
|
||||
|
||||
if (NOT DOXYGEN_FOUND)
|
||||
message("=====================================================\n"
|
||||
"Doxygen not found, will not build documentation. \n"
|
||||
"=====================================================\n")
|
||||
endif(NOT DOXYGEN_FOUND)
|
||||
|
||||
endmacro(SetupDoxygen)
|
||||
@@ -31,7 +31,6 @@ INSTALL(FILES
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
)
|
||||
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND)
|
||||
|
||||
IF (DOXYGEN_DOT_EXECUTABLE)
|
||||
|
||||
Reference in New Issue
Block a user