From a65fab83c3acafb610ae37989a64526ca23ad3f0 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 15 Feb 2016 15:45:08 +0300 Subject: [PATCH] CMake: simplifying Python detection mechanism: small correction. --- src/AppQuickStart/app-template/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- 2.39.2