diff options
author | Brad King <brad.king@kitware.com> | 2014-03-26 17:24:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-26 17:24:34 (GMT) |
commit | ab07d383a967c49352e40036a4986225ab0bd7de (patch) | |
tree | b16b13945062e35a5844d9a794530e13a0a13cb0 /Modules | |
parent | 9b536b914bd665ea55d3f7c1f3e391a060fb9e0e (diff) | |
parent | 734df96f5ad3d47b3c7825715f0b524292aa6ede (diff) | |
download | CMake-ab07d383a967c49352e40036a4986225ab0bd7de.zip CMake-ab07d383a967c49352e40036a4986225ab0bd7de.tar.gz CMake-ab07d383a967c49352e40036a4986225ab0bd7de.tar.bz2 |
Merge topic 'fix-Qt4-moc-commands-depends'
734df96f Qt4: Fix moc command dependencies for incremental build.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Qt4Macros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Qt4Macros.cmake b/Modules/Qt4Macros.cmake index 8baf896..aca8996 100644 --- a/Modules/Qt4Macros.cmake +++ b/Modules/Qt4Macros.cmake @@ -141,7 +141,7 @@ macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target) set(_moc_extra_parameters_file @${_moc_parameters_file}) add_custom_command(OUTPUT ${outfile} COMMAND Qt4::moc ${_moc_extra_parameters_file} - DEPENDS ${infile} + DEPENDS ${infile} ${_moc_parameters_file} ${_moc_working_dir} VERBATIM) endmacro () |