From: rnv Date: Tue, 7 Mar 2017 14:46:08 +0000 (+0300) Subject: Build SALOME on Fedora-24 with native products. X-Git-Tag: SHAPER_2.7.0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c62ec6549eded9348d8b0f564688c691f044b223;p=modules%2Fjobmanager.git Build SALOME on Fedora-24 with native products. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d29a521..1d75b0a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,11 @@ IF(SALOME_USE_MPI) FIND_PACKAGE(SalomeMPI) # needed for doc generation by Sphinx ENDIF() IF(SALOME_BUILD_DOC) + + # Python: should be detected before sphinx + FIND_PACKAGE(SalomePythonInterp REQUIRED) + FIND_PACKAGE(SalomePythonLibs REQUIRED) + FIND_PACKAGE(SalomeSphinx) SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) ENDIF()