Commit c50926d7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt: do not build sources if Qt is disabled/absent

parent 46f8b2a4
......@@ -3718,7 +3718,6 @@ AS_IF([test "${enable_qt}" != "no"], [
])
])
AS_IF([test "${enable_qt}" != "no"], [
VLC_ADD_PLUGIN([qt])
ALIASES="${ALIASES} qvlc"
])
AC_SUBST(QT_VERSION)
......
......@@ -39,9 +39,6 @@ if UPDATE_CHECK
libqt_plugin_la_CPPFLAGS += -DUPDATE_CHECK
endif
gui_LTLIBRARIES += $(LTLIBqt)
EXTRA_LTLIBRARIES += libqt_plugin.la
libqt_plugin_la_SOURCES = \
gui/qt/qt.cpp gui/qt/qt.hpp \
gui/qt/menus.cpp gui/qt/menus.hpp \
......@@ -449,4 +446,7 @@ nodist_libqt_plugin_la_SOURCES += gui/qt/resources.cpp
gui/qt/resources.cpp: gui/qt/vlc.qrc $(libqt_plugin_la_RES)
$(AM_V_GEN)$(RCC) -name vlc -o $@ $<
if ENABLE_QT
gui_LTLIBRARIES += libqt_plugin.la
BUILT_SOURCES += $(nodist_libqt_plugin_la_SOURCES)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment