From: Nabil Ghodbane Date: Mon, 29 Apr 2024 07:24:15 +0000 (+0200) Subject: [FORUM 1167] Build GUI without documentation requires Graphviz X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1f31d64f310efb8c294773335cf66aae88ed0c8;p=modules%2Fgui.git [FORUM 1167] Build GUI without documentation requires Graphviz --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2da8278a8..76b0251ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,6 +129,8 @@ IF(SALOME_BUILD_DOC) SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC) SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC) SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) +ELSE(SALOME_BUILD_DOC) + FIND_PACKAGE(SalomeGraphviz) ENDIF() ##