From: rnv Date: Sat, 20 Feb 2016 16:12:49 +0000 (+0300) Subject: Windows compatibility. X-Git-Tag: V8_0_0rc2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2eb70b3e2b5763399230b429a5f07a29c8d3448d;p=modules%2Fkernel.git Windows compatibility. --- diff --git a/salome_adm/cmake_files/SalomeMacros.cmake b/salome_adm/cmake_files/SalomeMacros.cmake index 34f85786d..a67f4d5e0 100644 --- a/salome_adm/cmake_files/SalomeMacros.cmake +++ b/salome_adm/cmake_files/SalomeMacros.cmake @@ -944,7 +944,11 @@ MACRO(SALOME_CONFIGURE_PREPARE) FOREACH(_prereq IN LISTS _tmp_prereq) IF(${_prereq}_DIR) SET(_PREREQ_LIST "${_PREREQ_LIST} ${_prereq}") - SET(_PREREQ_DIR_LIST "${_PREREQ_DIR_LIST} \"${${_prereq}_DIR}\"") + SET(CURR_DIR ${${_prereq}_DIR}) + IF(WIN32) + STRING(REGEX REPLACE "\\\\" "/" CURR_DIR ${CURR_DIR}) + ENDIF() + SET(_PREREQ_DIR_LIST "${_PREREQ_DIR_LIST} \"${CURR_DIR}\"") SALOME_APPEND_LIST_OF_LIST(_PREREQ_COMPO_LIST Salome${_prereq}_COMPONENTS) ENDIF() ENDFOREACH()