]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
SALOME_GENERATE_TESTS_ENVIRONMENT script: process correctly ';' separator in env...
authorvsr <vsr@opencascade.com>
Mon, 12 May 2014 08:30:51 +0000 (12:30 +0400)
committervsr <vsr@opencascade.com>
Mon, 12 May 2014 08:30:51 +0000 (12:30 +0400)
salome_adm/cmake_files/SalomeMacros.cmake

index 65983c99590714b9fd1d1febe73d540f58b3df03..15d2ca90e3165a366e3dc5187aec3b9c9d6df411 100644 (file)
@@ -832,7 +832,8 @@ MACRO(SALOME_GENERATE_TESTS_ENVIRONMENT output)
        SET(_env "${_item}=$ENV{${_item}};${_env_${_item}}${sep}${_env}")
      ENDIF()
    ELSE()
-     SET(_env "${_item}=$ENV{${_item}}:${_env_${_item}}${sep}${_env}")
+     STRING(REPLACE ";" ":" _iii "$ENV{${_item}}")
+     SET(_env "${_item}=${_iii}:${_env_${_item}}${sep}${_env}")
    ENDIF()
  ENDFOREACH()