Skip to content

Commit

Permalink
Made plantuml optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Jul 6, 2024
1 parent a8b76b4 commit 5ac02cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chapter06/ex02_doxplantuml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ project(
# Doxygen configuration
############################################################################
# Locate PlantUML JAR file in the environment
find_path(PLANTUML_JAR_PATH NAMES plantuml.jar HINTS "/usr/share/plantuml" "C:/Program Files/PlantUML" "C:/ProgramData/chocolatey/lib/plantuml/tools" "/usr/local/Cellar/[email protected]/1.2021.13/libexec" REQUIRED)
find_path(PLANTUML_JAR_PATH NAMES plantuml.jar HINTS "/usr/share/plantuml" "C:/Program Files/PlantUML" "C:/ProgramData/chocolatey/lib/plantuml/tools" "/usr/local/Cellar/[email protected]/1.2021.13/libexec")
if(PLANTUML_JAR_PATH-Notfound)
message(STATUS "PlantUML JAR file not found. Will not build the plantuml example")
return()
endif()

# Locate Doxygen in the environment. This will set DOXYGEN_FOUND variable
# as a result. When Doxygen is found, DOXYGEN_VERSION variable will be
Expand Down

0 comments on commit 5ac02cc

Please sign in to comment.