From cb229ea353131442af8a3303cfbc23c32aeb626d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 18 Jun 2014 08:51:36 +0200 Subject: Don't create moc targets when building server-only. --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4c79619..913408c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -143,7 +143,10 @@ EXTRA_DIST = \ yuv_draw.h \ miav.qrc -miav_MOC = $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) +miav_MOC = +if WITH_GUI +miav_MOC += $(shell if [ $QT_CXXFLAGS ] ; then ../tools/MocList cc; fi ) +endif BUILT_SOURCES = $(miav_MOC) qrc_miav.cc -- cgit v1.2.3