Skip to content

Commit

Permalink
Refs #11054 Let doxygen find dot
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Feb 11, 2015
1 parent 0b033f9 commit 560fe37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Code/Mantid/docs/CMakeLists.txt
Expand Up @@ -3,9 +3,6 @@
###############################################################################
find_package ( Sphinx 1.2 )

#Needed to generate doc diagrams
find_program ( DOT_EXECUTABLE NAMES dot DOC "Graphviz Dot tool for rendering diagrams" )

if ( SPHINX_FOUND )
# run python to see if the theme is installed
execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "import sphinx_bootstrap_theme"
Expand All @@ -27,6 +24,7 @@ if ( SPHINX_FOUND )
set ( SPHINX_BUILD_DIR ${DOCS_BUILDDIR} )
set ( SCREENSHOTS_DIR ${SPHINX_BUILD_DIR}/screenshots )
set ( DIAGRAMS_DIR ${SPHINX_BUILD_DIR}/diagrams )
set ( DOT_EXECUTABLE ${DOXYGEN_DOT_EXECUTABLE} )

# targets
set ( TARGET_PREFIX docs)
Expand Down

0 comments on commit 560fe37

Please sign in to comment.