]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix for the "23289: [CEA 1872] Problem in the CMakelists.txt of the template profile...
authorrnv <rnv@opencascade.com>
Thu, 16 Jun 2016 12:53:25 +0000 (15:53 +0300)
committerrnv <rnv@opencascade.com>
Thu, 16 Jun 2016 12:53:25 +0000 (15:53 +0300)
src/AppQuickStart/app-template/CMakeLists.txt

index a568b4990db27ed34bbb8d9989cb0d735fe4ff01..edb4838ae0576313d8391a28e4d93dc1a548e19d 100644 (file)
@@ -120,5 +120,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{[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR} _[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR)
+FILE(TO_CMAKE_PATH ${CMAKE_INSTALL_PREFIX} _[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR)
 SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" ${_[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR})