From b7ea68165664885615a5ef35c8f68dcd87e5560c Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 19 Sep 2008 06:11:39 +0000 Subject: [PATCH] Fix problem of compilation without test recorder --- adm_local/unix/make_common_starter.am | 2 +- src/SUITApp/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/adm_local/unix/make_common_starter.am b/adm_local/unix/make_common_starter.am index f94fb0c28..df75ae408 100644 --- a/adm_local/unix/make_common_starter.am +++ b/adm_local/unix/make_common_starter.am @@ -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 diff --git a/src/SUITApp/Makefile.am b/src/SUITApp/Makefile.am index 1e1b85582..5fa2dd43d 100644 --- a/src/SUITApp/Makefile.am +++ b/src/SUITApp/Makefile.am @@ -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) -- 2.39.2