[cmake-commits] clinton committed FindQt4.cmake 1.91 1.92

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 8 12:01:57 EST 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv9122

Modified Files:
	FindQt4.cmake 
Log Message:
ENH:  Better way to have escaping done correctly for all generators.


Index: FindQt4.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindQt4.cmake,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- FindQt4.cmake	8 Feb 2008 04:26:42 -0000	1.91
+++ FindQt4.cmake	8 Feb 2008 17:01:54 -0000	1.92
@@ -937,9 +937,9 @@
         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}



More information about the Cmake-commits mailing list