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).
This commit is contained in:
Tobias Doerffel
2009-08-24 23:37:28 +02:00
parent 166701f9f3
commit f7af62eab4

View File

@@ -454,7 +454,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})