Skip to content

Commit

Permalink
Actually... prefer system doxygen?
Browse files Browse the repository at this point in the history
  • Loading branch information
John-LittleBearLabs committed Oct 31, 2024
1 parent 951fdf1 commit 9cae6d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export here="$(dirname "${0}")"
source "${here}/ubuntu-deps.env"
sudo apt install doxygen

echo Configure
mkdir -p build
Expand Down
5 changes: 4 additions & 1 deletion cmake/setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ set(SETUP_CMAKE_INCLUDED 1)

set(protobuf_version "3.20.0")
if(USE_DOXYGEN)
set(doxygen_dep "doxygen/1.9.4")
find_program(DOXYGEN_BIN doxygen)
if (NOT DOXYGEN_BIN)
set(doxygen_dep "doxygen/1.9.4")
endif()
else()
set(doxygen_dep "")
endif()
Expand Down

0 comments on commit 9cae6d1

Please sign in to comment.