From: adam Date: Fri, 4 Mar 2011 08:41:36 +0000 (+0000) Subject: Use the -DWITH_SALOMEDS_OBSERVER flag X-Git-Tag: Start_BR_19998_21191~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a127bc5ae3d4de9aaa1a7c7bc8b687d52bdc84af;p=modules%2Fkernel.git Use the -DWITH_SALOMEDS_OBSERVER flag --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 213c1eefa..f28fe8afc 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -791,6 +791,14 @@ class CMakeFile(object): ENDIF(KERNEL_ROOT_DIR) ''') pass + if self.module == "gui": + newlines.append(r''' + IF(KERNEL_ROOT_DIR) + SET(AM_CPPFLAGS ${AM_CPPFLAGS} -DWITH_SALOMEDS_OBSERVER) + SET(AM_CXXFLAGS ${AM_CXXFLAGS} -DWITH_SALOMEDS_OBSERVER) + ENDIF(KERNEL_ROOT_DIR) + ''') + pass if self.module == "hxx2salome": key = "_SRC" if self.the_root[-len(key):] != key: