David Faure faure at kde.org
Mon Aug 17 18:44:14 CEST 2009

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: kde-buildsystem at kde.org

 M  +1 -1      FindQt4.cmake  

--- trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake #1012420:1012421
@@ -1335,7 +1335,7 @@
     ENDIF (_customName)
-        COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} > ${_target}
+        COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} -o ${_target}
         DEPENDS ${_in_file}

More information about the Kde-buildsystem mailing list