File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -574,6 +574,8 @@ if(ENABLE_DOCS)
574574 COMPONENTS Runtime
575575 REQUIRED
576576 )
577+
578+ find_program (GRAPHVIZ_DOT dot REQUIRED)
577579endif ()
578580
579581if (ENABLE_AUTEST)
Original file line number Diff line number Diff line change @@ -57,15 +57,16 @@ set(UML_FILES
5757 uml/extras/config-data.plantuml
5858 uml/extras/txn_box_config_schema.plantuml
5959)
60+
6061# unfortunately, sphinx can't look else for files than its source directory
6162# so these files must be create in the source tree
6263foreach (UML ${UML_FILES} )
6364 cmake_path(GET UML STEM uml_name)
6465 list (APPEND SVG_FILES ${CMAKE_CURRENT_SOURCE_DIR} /uml/images/${uml_name} .svg)
6566 add_custom_command (
6667 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR} /uml/images/${uml_name} .svg
67- COMMAND ${Java_JAVA_EXECUTABLE} -jar ${PLANTUML_JAR} -o ${CMAKE_CURRENT_SOURCE_DIR} /uml/images -tsvg
68- ${CMAKE_CURRENT_SOURCE_DIR} /${UML}
68+ COMMAND ${Java_JAVA_EXECUTABLE} -jar ${PLANTUML_JAR} -o ${CMAKE_CURRENT_SOURCE_DIR} /uml/images -tsvg -graphvizdot
69+ ${GRAPHVIZ_DOT} ${ CMAKE_CURRENT_SOURCE_DIR} /${UML}
6970 DEPENDS ${UML}
7071 VERBATIM
7172 )
You can’t perform that action at this time.
0 commit comments