]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix generation of the Geometry User's documentation on Windows.
authorrnv <rnv@opencascade.com>
Tue, 22 Oct 2019 09:41:29 +0000 (12:41 +0300)
committerrnv <rnv@opencascade.com>
Tue, 22 Oct 2019 09:41:29 +0000 (12:41 +0300)
doc/salome/gui/GEOM/CMakeLists.txt

index 1c2aa746f3393e6326120ecf3639eb75aa3928a3..ab6a6a82c31d40fc6101c2b41a34d932c525fbe4 100644 (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})