From fd8af7c1c7d654e31baa92367a0db5496556c4ae Mon Sep 17 00:00:00 2001 From: "Maintenance team (INV)" Date: Tue, 14 Jul 2015 21:36:14 +0300 Subject: [PATCH] Synchronize adm files --- CMakeModules/SalomeMacros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeModules/SalomeMacros.cmake b/CMakeModules/SalomeMacros.cmake index 7ed2622..6b43e22 100644 --- a/CMakeModules/SalomeMacros.cmake +++ b/CMakeModules/SalomeMacros.cmake @@ -752,7 +752,8 @@ MACRO(SALOME_ACCUMULATE_ENVIRONMENT envvar) ENDIF() SET(_${PROJECT_NAME}_EXTRA_ENV_FULL "SET\(${PROJECT_NAME}_EXTRA_ENV ${_${PROJECT_NAME}_EXTRA_ENV}\)") FOREACH(_res ${_${PROJECT_NAME}_EXTRA_ENV}) - SET(_${PROJECT_NAME}_EXTRA_ENV_FULL "${_${PROJECT_NAME}_EXTRA_ENV_FULL}\nSET\(${PROJECT_NAME}_EXTRA_ENV_${_res} ${_${PROJECT_NAME}_EXTRA_ENV_${_res}}\)") + STRING(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}" _res_path "${_${PROJECT_NAME}_EXTRA_ENV_${_res}}") + SET(_${PROJECT_NAME}_EXTRA_ENV_FULL "${_${PROJECT_NAME}_EXTRA_ENV_FULL}\nSET\(${PROJECT_NAME}_EXTRA_ENV_${_res} ${_res_path}\)") ENDFOREACH() ENDMACRO(SALOME_ACCUMULATE_ENVIRONMENT) -- 2.39.2