From 65e460641ef95c195aba94e28f2ef797ea9b69bc Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 23 Mar 2012 15:44:29 +0000 Subject: [PATCH] MED CMakization --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4589b9833..1d7aaae82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,8 @@ ENDIF(KERNEL_ROOT_DIR) SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR}) +STRING(REPLACE "\\" "/" GUI_ROOT_DIR $ENV{GUI_ROOT_DIR}) + IF(GUI_ROOT_DIR) SET(MED_ENABLE_GUI ON) INCLUDE(${GUI_ROOT_DIR}/adm_local/cmake_files/FindCAS.cmake) @@ -81,9 +83,9 @@ SET(KERNEL_salomeidl_IDLS ${MED_salomeidl_IDLS}) SET(MED_salomeinclude_HEADERS include/salome) -SET(MED_salomeres_DATA share/salome/resources/MED) +SET(MED_salomeres_DATA share/salome/resources/med) -SET(MED_salomeres_SCRIPTS share/salome/resources/MED) +SET(MED_salomeres_SCRIPTS share/salome/resources/med) SET(MED_salomescript_SCRIPTS bin/salome) -- 2.39.2