]> SALOME platform Git repositories - tools/SALOME.git/commitdiff
Salome HOME
Modification for Windows compatibility
authorCEA Support SALOME <support-salome@cea.fr>
Tue, 16 Feb 2016 14:44:21 +0000 (15:44 +0100)
committerCEA Support SALOME <support-salome@cea.fr>
Tue, 16 Feb 2016 14:44:21 +0000 (15:44 +0100)
CMakeLists.txt

index c156d1d2417bb7c64d37a7305c7b911ef417f143..fbaedb6dd33cf38194c73c91872223c531995004 100644 (file)
@@ -123,4 +123,5 @@ SALOME_INSTALL_SCRIPTS("${_salome_context_API_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_
 SET(_salome_context_BASHRC
    ${KERNEL_ROOT_DIR}/bin/salome/appliskel/.bashrc
 )
-SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR})
+FILE(TO_CMAKE_PATH $ENV{[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR} _[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR)
+SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" ${_[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR})