From: rnv Date: Mon, 15 Feb 2016 12:45:08 +0000 (+0300) Subject: CMake: simplifying Python detection mechanism: small correction. X-Git-Tag: V7_8_0a2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a65fab83c3acafb610ae37989a64526ca23ad3f0;p=modules%2Fkernel.git CMake: simplifying Python detection mechanism: small correction. --- diff --git a/src/AppQuickStart/app-template/CMakeLists.txt b/src/AppQuickStart/app-template/CMakeLists.txt index cb14d25bd..69b01a7c4 100644 --- a/src/AppQuickStart/app-template/CMakeLists.txt +++ b/src/AppQuickStart/app-template/CMakeLists.txt @@ -56,7 +56,8 @@ ENDIF() # KERNEL optionals: IF(SALOME_BUILD_DOC) - FIND_PACKAGE(SalomePython) + FIND_PACKAGE(SalomePythonInterp REQUIRED) + FIND_PACKAGE(SalomePythonLibs REQUIRED) FIND_PACKAGE(SalomeSphinx) SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) ENDIF()