From: mpa Date: Thu, 31 Oct 2013 13:49:13 +0000 (+0000) Subject: CMake: X-Git-Tag: V7_3_1b1~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a8b5cabf44bb1e3752d654b0d8c5aac28beaf53;p=tools%2Fmedcoupling.git CMake: - Accumulate environment variables, to be used later to run some command in proper environment. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 80630db8b..13105ef33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)