From: SPN Salome - CEA Date: Tue, 9 May 2017 09:12:13 +0000 (+0200) Subject: bug fix X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FVmaster;p=tools%2FSALOME.git bug fix --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fc3ec39..dee6f83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,5 +130,5 @@ SALOME_INSTALL_SCRIPTS("${_salome_context_API_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_ SET(_salome_context_BASHRC ${KERNEL_ROOT_DIR}/bin/salome/appliskel/.bashrc ) -FILE(TO_CMAKE_PATH $ENV{SALOME_PROFILE_ROOT_DIR} _SALOME_PROFILE_ROOT_DIR) +FILE(TO_CMAKE_PATH ${CMAKE_INSTALL_PREFIX} _SALOME_PROFILE_ROOT_DIR) SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" ${_SALOME_PROFILE_ROOT_DIR})