Salome HOME
CMake: simplifying Python detection mechanism.
[samples/light.git] / CMakeLists.txt
index 3a25c94ccc687239f2c9aabb907413d4f453d197..5156eaf4f72c33968bf854b8aeb01911d90dbb57 100755 (executable)
@@ -66,7 +66,8 @@ ENDIF()
 ## From KERNEL:
 ##
 # Python
-FIND_PACKAGE(SalomePython REQUIRED)
+FIND_PACKAGE(SalomePythonInterp REQUIRED)
+FIND_PACKAGE(SalomePythonLibs REQUIRED)
 
 # Find GUI
 # ===========