]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: simplifying Python detection mechanism: small correction.
authorrnv <rnv@opencascade.com>
Mon, 15 Feb 2016 12:45:08 +0000 (15:45 +0300)
committerrnv <rnv@opencascade.com>
Mon, 15 Feb 2016 12:45:08 +0000 (15:45 +0300)
src/AppQuickStart/app-template/CMakeLists.txt

index cb14d25bdcec7c18e515519fa028b19845671f4e..69b01a7c440579fb20aa032a807a791595f25ee2 100644 (file)
@@ -56,7 +56,8 @@ ENDIF()
 
 # KERNEL optionals:
 IF(SALOME_BUILD_DOC)
-  FIND_PACKAGE(SalomePython)
+  FIND_PACKAGE(SalomePythonInterp REQUIRED)
+  FIND_PACKAGE(SalomePythonLibs REQUIRED)
   FIND_PACKAGE(SalomeSphinx)
   SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
 ENDIF()