diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-11-08 18:21:09 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-11-08 18:21:09 (GMT) |
commit | 054eed58197aae6e8eb4b6fd2d080bffe31bb35b (patch) | |
tree | 012aa267c70f65be60241fef6640da91a60760de /Modules/FindQt4.cmake | |
parent | e325b1a38ad742dab268ad47f7a6f918eaa399b3 (diff) | |
download | CMake-054eed58197aae6e8eb4b6fd2d080bffe31bb35b.zip CMake-054eed58197aae6e8eb4b6fd2d080bffe31bb35b.tar.gz CMake-054eed58197aae6e8eb4b6fd2d080bffe31bb35b.tar.bz2 |
-another tiny sync with KDE4, no functional changes
Alex
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r-- | Modules/FindQt4.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index a4b53b9..23e354c 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -1175,9 +1175,13 @@ IF (QT4_QMAKE_FOUND) SET(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) SET(_impl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc) - + + # handling more arguments (as in FindQt4.cmake from KDE4) will come soon, then + # _params will be used for more than just -m + SET(_params -m) + ADD_CUSTOM_COMMAND(OUTPUT ${_impl} ${_header} - COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -p ${_basename} ${_infile} + COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} ${_params} -p ${_basename} ${_infile} DEPENDS ${_infile}) SET_SOURCE_FILES_PROPERTIES(${_impl} PROPERTIES SKIP_AUTOMOC TRUE) |