From b2eef6ed12cfd42f376fca2c49095358e7497dd8 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 14 Oct 2015 10:32:24 +0300 Subject: [PATCH] Fix problem of build with -DSALOME_MED_STANDALONE=ON option --- CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51a6514c3..eebd5ae32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,15 +182,6 @@ IF(SALOME_MED_ENABLE_RENUMBER) SALOME_LOG_OPTIONAL_PACKAGE(Boost SALOME_MED_ENABLE_RENUMBER) ENDIF(SALOME_MED_ENABLE_RENUMBER) -IF(SALOME_BUILD_DOC) - FIND_PACKAGE(SalomeDoxygen) - FIND_PACKAGE(SalomeGraphviz) - FIND_PACKAGE(SalomeSphinx) - SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC) - SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC) - SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) -ENDIF(SALOME_BUILD_DOC) - IF(SALOME_MED_ENABLE_PYTHON) FIND_PACKAGE(SalomePython) FIND_PACKAGE(SalomeSWIG) @@ -209,6 +200,15 @@ IF(SALOME_MED_ENABLE_PYTHON) ENDIF(SCIPY_FOUND) ENDIF(SALOME_MED_ENABLE_PYTHON) +IF(SALOME_BUILD_DOC) + FIND_PACKAGE(SalomeDoxygen) + FIND_PACKAGE(SalomeGraphviz) + FIND_PACKAGE(SalomeSphinx) + SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC) + SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC) + SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) +ENDIF(SALOME_BUILD_DOC) + # Detection report SALOME_PACKAGE_REPORT_AND_CHECK() -- 2.39.2