]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
CMake: simplifying Python detection mechanism.
authorabn <adrien.bruneton@cea.fr>
Thu, 4 Feb 2016 10:53:17 +0000 (11:53 +0100)
committerrnv <rnv@opencascade.com>
Mon, 15 Feb 2016 10:23:43 +0000 (13:23 +0300)
CMakeLists.txt
src/Plugins/MEDReader/CMakeLists.txt

index 08be4910e682b5e5b8da89ff682f8d0f83b023d9..052e977d765d7c76d1ed9e588896327a4e88b2d9 100644 (file)
@@ -91,8 +91,8 @@ CMAKE_DEPENDENT_OPTION(SALOME_LIGHT_ONLY "Build SALOME Light only (no CORBA)" OF
 ##
 ## From KERNEL:
 ##
-
-FIND_PACKAGE(SalomePython REQUIRED)
+FIND_PACKAGE(SalomePythonInterp REQUIRED)
+FIND_PACKAGE(SalomePythonLibs REQUIRED)
 
 IF(NOT SALOME_LIGHT_ONLY)
   FIND_PACKAGE(SalomeOmniORB REQUIRED)
index 36f86d08eeef57a2afc9fb3a6aa64e2f06998c3c..9ceb830000d9d89a061b08a712f0578002760eb7 100644 (file)
@@ -76,7 +76,8 @@ LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
 LIST(APPEND CMAKE_MODULE_PATH "${MEDCOUPLING_ROOT_DIR}/cmake_files")
 INCLUDE(SalomeMacros)
 INCLUDE(SalomeSetupPlatform)
-FIND_PACKAGE(SalomePython REQUIRED)
+FIND_PACKAGE(SalomePythonInterp REQUIRED)
+FIND_PACKAGE(SalomePythonLibs REQUIRED)
 FIND_PACKAGE(SalomeHDF5 REQUIRED)
 FIND_PACKAGE(SalomeMEDCoupling REQUIRED)
 FIND_PACKAGE(SalomeMEDFile REQUIRED)