Build system: pass -nw as option for MOC to QT4_WRAP_CPP macro

Passing -nw as option for MOC to QT4_WRAP_CPP macro silences warnings
about non-MOCable headers (which confused a lots of users).
(cherry picked from commit f7af62eab4)
This commit is contained in:
Tobias Doerffel
2009-08-24 23:37:28 +02:00
parent 6a8b285932
commit 62f40dafec

View File

@@ -381,7 +381,7 @@ SET(lmms_MOC ${lmms_INCLUDES})
SET(lmms_EMBEDDED_RESOURCES ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/COPYING)
QT4_WRAP_CPP(lmms_MOC_out ${lmms_MOC})
QT4_WRAP_CPP(lmms_MOC_out ${lmms_MOC} OPTIONS -nw)
QT4_WRAP_UI(lmms_UI_out ${lmms_UI})