]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
CMake:
authormpa <mpa@opencascade.com>
Thu, 31 Oct 2013 13:49:13 +0000 (13:49 +0000)
committermpa <mpa@opencascade.com>
Thu, 31 Oct 2013 13:49:13 +0000 (13:49 +0000)
- Accumulate environment variables, to be used later to run some command in proper environment.

CMakeLists.txt

index 80630db8bc497c5f4eb1109c8fef059acfed1b2e..13105ef33952ceb3438635b58b894bd8ab393a22 100644 (file)
@@ -252,6 +252,12 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MED_version.h DESTINATION ${SALOME_INS
 CONFIGURE_FILE(VERSION.in VERSION @ONLY)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS})
 
+# Accumulate environment variables for MED module
+SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_BINS}
+                                                 ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_PYTHON})
+SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_LIBS})
+
+
 # Sources 
 # ========
 IF(WIN32)