[vlc-commits] qt: Fix build with --disable-vlm

Hugo Beauzée-Luyssen git at videolan.org
Tue May 29 17:05:37 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 28 18:25:15 2018 +0200| [44a635bd4ae16fec5295f6f8aee4dd2ffd7e97d8] | committer: Hugo Beauzée-Luyssen

qt: Fix build with --disable-vlm

Fix #20495

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44a635bd4ae16fec5295f6f8aee4dd2ffd7e97d8
---

 modules/gui/qt/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index b14c3b3eb9..6da5f5bc96 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -191,7 +191,6 @@ nodist_libqt_plugin_la_SOURCES = \
 	gui/qt/dialogs/open.moc.cpp \
 	gui/qt/dialogs/openurl.moc.cpp \
 	gui/qt/dialogs/podcast_configuration.moc.cpp \
-	gui/qt/dialogs/vlm.moc.cpp \
 	gui/qt/dialogs/firstrun.moc.cpp \
 	gui/qt/dialogs/extensions.moc.cpp \
 	gui/qt/dialogs/fingerprintdialog.moc.cpp \
@@ -445,6 +444,10 @@ EXTRA_DIST += gui/qt/vlc.qrc $(libqt_plugin_la_RES)
 
 nodist_libqt_plugin_la_SOURCES += gui/qt/resources.cpp
 
+if ENABLE_VLM
+nodist_libqt_plugin_la_SOURCES += gui/qt/dialogs/vlm.moc.cpp
+endif
+
 gui/qt/resources.cpp: gui/qt/vlc.qrc $(libqt_plugin_la_RES)
 	$(AM_V_GEN)$(RCC) -name vlc -o $@ $<
 



More information about the vlc-commits mailing list