Salome HOME
CMake: simplifying Python detection mechanism.
authorrnv <rnv@opencascade.com>
Mon, 15 Feb 2016 12:49:45 +0000 (15:49 +0300)
committerrnv <rnv@opencascade.com>
Mon, 15 Feb 2016 12:49:45 +0000 (15:49 +0300)
CMakeLists.txt

index 03e0f53..33efb9f 100755 (executable)
@@ -87,7 +87,8 @@ MARK_AS_ADVANCED(SALOME_BUILD_GUI SALOME_SMESH_USE_CGNS SALOME_SMESH_USE_TBB)
 
 # Various
 # Python
-FIND_PACKAGE(SalomePython REQUIRED)
+FIND_PACKAGE(SalomePythonInterp REQUIRED)
+FIND_PACKAGE(SalomePythonLibs REQUIRED)
 # PThread
 FIND_PACKAGE(SalomePThread REQUIRED)
 # SWIG