diff options
-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 |