From a8c424491658bc9cb6c381bdee8f8b67bc56f5ac Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Fri, 8 Feb 2008 12:01:54 -0500 Subject: [PATCH] ENH: Better way to have escaping done correctly for all generators. --- Modules/FindQt4.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index e8778e4d6..627b7086c 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}