From: ageay Date: Fri, 23 Mar 2012 15:44:29 +0000 (+0000) Subject: MED CMakization X-Git-Tag: V6_main_FINAL~719 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65e460641ef95c195aba94e28f2ef797ea9b69bc;p=tools%2Fmedcoupling.git MED CMakization --- 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)