]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix problem of compilation without test recorder
authorvsr <vsr@opencascade.com>
Fri, 19 Sep 2008 06:11:39 +0000 (06:11 +0000)
committervsr <vsr@opencascade.com>
Fri, 19 Sep 2008 06:11:39 +0000 (06:11 +0000)
adm_local/unix/make_common_starter.am
src/SUITApp/Makefile.am

index f94fb0c28a66e8e5aa31f5364a0479a8263799ce..df75ae4086054c2cfed81982cd04fe2c68787929 100644 (file)
@@ -35,7 +35,7 @@ docdir             = $(datadir)/doc/salome
 
 # meta object implementation files generation (moc)
 %_moc.cxx: %.h
-       $(MOC) $< -o $@
+       $(MOC) $(MOC_FLAGS) $< -o $@
 
 # translation (*.qm) files generation (lrelease)
 %.qm: resources/%.ts
index 1e1b855826573bcc6a8219960dd5e583faa73d43..5fa2dd43da90f24f6cd6e3e3e991a65313f9c800 100644 (file)
@@ -46,6 +46,7 @@ if ENABLE_TESTRECORDER
   libSUITApp_la_CPPFLAGS+= $(TESTRECORDER_INCLUDES)
 else !ENABLE_TESTRECORDER
   libSUITApp_la_CPPFLAGS+= -DDISABLE_TESTRECORDER
+  MOC_FLAGS = -DDISABLE_TESTRECORDER
 endif
 
 libSUITApp_la_LDFLAGS  = $(QT_MT_LIBS)