From: akl Date: Tue, 30 Jul 2013 06:36:56 +0000 (+0000) Subject: Fix problems with object browser in CMAKE case. X-Git-Tag: BR_hydro_v_0_3_1~97 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aac0e107d4ff5343c0aa8e4138b34a8e39bee22c;p=modules%2Fgui.git Fix problems with object browser in CMAKE case. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a4f03942..8db1a8305 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,6 +128,9 @@ ENDIF() FIND_PACKAGE(SalomeSIP REQUIRED) # should come after Python and before PyQt4 +# Build with GUI observers feature +ADD_DEFINITIONS(-DWITH_SALOMEDS_OBSERVER) + # Qt4 FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui QtXml QtWebKit QtOpenGL) INCLUDE(${QT_USE_FILE})