From: rnv Date: Mon, 15 Feb 2016 12:47:19 +0000 (+0300) Subject: CMake: simplifying Python detection mechanism. X-Git-Tag: V7_8_0a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e12c5e381181e71e0d8dd3d3a0bbdb7ec5d5a8a6;p=samples%2Fpyhello.git CMake: simplifying Python detection mechanism. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 98dcd72..4741a12 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,8 @@ ENDIF() ## ## From KERNEL: ## -FIND_PACKAGE(SalomePython REQUIRED) +FIND_PACKAGE(SalomePythonInterp REQUIRED) +FIND_PACKAGE(SalomePythonLibs REQUIRED) FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORBPy REQUIRED)