]> SALOME platform Git repositories - tools/SALOME.git/commitdiff
Salome HOME
Build SALOME modules without documentation: python should be detected certainly
authorrnv <rnv@opencascade.com>
Tue, 14 Dec 2021 12:01:15 +0000 (15:01 +0300)
committerrnv <rnv@opencascade.com>
Tue, 14 Dec 2021 12:01:15 +0000 (15:01 +0300)
CMakeLists.txt

index 0154c4f1d96f39d6fe74a43895f78aee0e41cb24..f890a94ac02755a07cc4f3cc9f17ad8950381618 100644 (file)
@@ -59,10 +59,12 @@ IF(SALOME_BUILD_TESTS)
   ENABLE_TESTING()
 ENDIF()
 
+# KERNEL:
+FIND_PACKAGE(SalomePythonInterp REQUIRED)
+FIND_PACKAGE(SalomePythonLibs REQUIRED)
+
 # KERNEL optionals:
 IF(SALOME_BUILD_DOC)
-  FIND_PACKAGE(SalomePythonInterp REQUIRED)
-  FIND_PACKAGE(SalomePythonLibs REQUIRED)
   FIND_PACKAGE(SalomeSphinx)
   SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
 ENDIF()