diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-18 08:51:36 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-18 08:51:36 +0200 |
commit | cb229ea353131442af8a3303cfbc23c32aeb626d (patch) | |
tree | c22621d231cec8b8658c467cefc9fee580e7033f /src/Makefile.am | |
parent | dee6d7ef907d7761b8c195e49b79a9db87a4b737 (diff) |
Don't create moc targets when building server-only.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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 |