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

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


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

qt: Fix build with --disable-vlm

Fix #20495

(cherry picked from commit 44a635bd4ae16fec5295f6f8aee4dd2ffd7e97d8)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=49450a4ab90bba8530764c5cdb95d648aeda7d52
---

 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 cb77b14d96..c67f4afc13 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