[vlmc-devel] Makefile.am: Add missing CrashHandler recipe

Abhimanyu Singh Gaur git at videolan.org
Fri Mar 31 22:50:40 CEST 2017


vlmc | branch: master | Abhimanyu Singh Gaur <gaur.1 at iitj.ac.in> | Thu Mar 30 13:30:54 2017 +0530| [64494b2edfb0a53ad127de9047f0d421ea42c7a0] | committer: Yikai Lu

Makefile.am: Add missing CrashHandler recipe

CrashHandler uses Qt StaticMetaObject but earlier it was being compiled without generating a .moc.cpp file first, giving build errors.

> https://code.videolan.org/videolan/vlmc/commit/64494b2edfb0a53ad127de9047f0d421ea42c7a0
---

 Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8d81dd7..b9adfa9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -361,7 +361,11 @@ vlmc_UI = \
 
 if HAVE_CRASHHANDLER
 vlmc_UI += src/Gui/ui/CrashHandler.ui
-vlmc_SOURCES += src/Gui/widgets/CrashHandler.cpp
+vlmc_SOURCES += \
+	src/Gui/widgets/CrashHandler.h \
+	src/Gui/widgets/CrashHandler.cpp \
+	$(NULL)
+nodist_vlmc_SOURCES += src/Gui/widgets/CrashHandler.moc.cpp
 if HAVE_WIN32
 vlmc_SOURCES += src/Tools/Win32BacktraceGenerator.cpp
 else



More information about the Vlmc-devel mailing list