From: rnv Date: Tue, 22 Oct 2019 09:41:29 +0000 (+0300) Subject: Fix generation of the Geometry User's documentation on Windows. X-Git-Tag: V9_4_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=004cf4db73964cfbd593a3351a1874b6fa2256cd;p=modules%2Fgeom.git Fix generation of the Geometry User's documentation on Windows. --- diff --git a/doc/salome/gui/GEOM/CMakeLists.txt b/doc/salome/gui/GEOM/CMakeLists.txt index 1c2aa746f..ab6a6a82c 100644 --- a/doc/salome/gui/GEOM/CMakeLists.txt +++ b/doc/salome/gui/GEOM/CMakeLists.txt @@ -40,8 +40,10 @@ IF(WIN32 AND "$ENV{SALOME_HAS_GLOBAL_ENV}" STREQUAL "1") LIST(APPEND ADD_VARS GEOM_PluginsList=${plg}) ENDFOREACH() LIST(APPEND ADD_VARS PYTHONPATH=${CMAKE_INSTALL_PREFIX}/bin/salome) + LIST(APPEND ADD_VARS PYTHONPATH=${KERNEL_ROOT_DIR}/bin/salome) LIST(APPEND ADD_VARS PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/salome) LIST(APPEND ADD_VARS PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/salome/shared_modules) + LIST(APPEND ADD_VARS PATH=${CMAKE_INSTALL_PREFIX}/lib/salome) ENDIF() SALOME_GENERATE_ENVIRONMENT_SCRIPT(plugins_cmd env_script "${PYTHON_EXECUTABLE}" "${plugins_cmd_options}" ADDITIONAL_VARIABLES ${ADD_VARS})