summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-08 17:01:54 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-02-08 17:01:54 (GMT)
commita8c424491658bc9cb6c381bdee8f8b67bc56f5ac (patch)
treebb754a18dd7791345e643234abba5cf76c2add31 /Modules
parentd717ad57a6415f7ec00f816793befd549e7ba627 (diff)
downloadCMake-a8c424491658bc9cb6c381bdee8f8b67bc56f5ac.zip
CMake-a8c424491658bc9cb6c381bdee8f8b67bc56f5ac.tar.gz
CMake-a8c424491658bc9cb6c381bdee8f8b67bc56f5ac.tar.bz2
ENH: Better way to have escaping done correctly for all generators.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index e8778e4..627b708 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -937,9 +937,9 @@ IF (QT4_QMAKE_FOUND)
FILE (APPEND ${_moc_parameters_file} "${arg}\n")
ENDFOREACH(arg)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
- COMMAND ${QT_MOC_EXECUTABLE}
- ARGS "@${_moc_parameters_file}"
- DEPENDS ${infile})
+ COMMAND ${QT_MOC_EXECUTABLE} @${_moc_parameters_file}
+ DEPENDS ${infile}
+ VERBATIM)
ELSE (WIN32)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_MOC_EXECUTABLE}