]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Fix problem of build with -DSALOME_MED_STANDALONE=ON option
authorvsr <vsr@opencascade.com>
Wed, 14 Oct 2015 07:32:24 +0000 (10:32 +0300)
committervsr <vsr@opencascade.com>
Wed, 14 Oct 2015 07:32:24 +0000 (10:32 +0300)
CMakeLists.txt

index 51a6514c3b316e0d892dda25b862c588f6defb1f..eebd5ae32611fb0a7ede36ba21136a58c6052c1a 100644 (file)
@@ -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()