Fix generation of the Geometry User's documentation on Windows.

This commit is contained in:
rnv 2019-10-22 12:41:29 +03:00
parent eb232fee26
commit 004cf4db73

View File

@ -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})