SVN commit 1012421 by dfaure: Use -o rather than > so that we don't get an empty file on error (e.g. "qdbuscpp2xml: could not execute moc") (empty file which itself will lead to a different error message next time)
Can this be merged into cmake's FindQt4.cmake? Thanks. CCMAIL: [email protected] M +1 -1 FindQt4.cmake --- trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake #1012420:1012421 @@ -1335,7 +1335,7 @@ ENDIF (_customName) ADD_CUSTOM_COMMAND(OUTPUT ${_target} - COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} > ${_target} + COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} -o ${_target} DEPENDS ${_in_file} ) ENDMACRO(QT4_GENERATE_DBUS_INTERFACE) _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
