From e1b9f3df7a331d038ee378607a2b0e01d9481801 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 15 Feb 2016 15:49:45 +0300 Subject: [PATCH] CMake: simplifying Python detection mechanism. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03e0f5357..33efb9f10 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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