From 2f33f145c2c8fbe876e400eb6fd514967de625d2 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 14 Dec 2021 15:01:15 +0300 Subject: [PATCH] Build SALOME modules without documentation: python should be detected certainly --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0154c4f..f890a94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,10 +59,12 @@ IF(SALOME_BUILD_TESTS) ENABLE_TESTING() ENDIF() +# KERNEL: +FIND_PACKAGE(SalomePythonInterp REQUIRED) +FIND_PACKAGE(SalomePythonLibs REQUIRED) + # KERNEL optionals: IF(SALOME_BUILD_DOC) - FIND_PACKAGE(SalomePythonInterp REQUIRED) - FIND_PACKAGE(SalomePythonLibs REQUIRED) FIND_PACKAGE(SalomeSphinx) SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) ENDIF() -- 2.39.2