Skip to content

Commit

Permalink
Make doxygen a weak dependency
Browse files Browse the repository at this point in the history
Skip building documentation in the case that Doxygen is not detected on
the system.

Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Jul 25, 2023
1 parent 91c445b commit 6c13277
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
find_package(Doxygen 1.8 REQUIRED COMPONENTS doxygen)
find_package(Doxygen 1.8 COMPONENTS doxygen)

if(NOT Doxygen_FOUND)
return()
endif()

file(DOWNLOAD
https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.1.0/doxygen-awesome.css
Expand Down

0 comments on commit 6c13277

Please sign in to comment.