Browse Source

Qt4Macros: Remove undefined varible use.

This may have been added in anticipation of processing COMPILE_OPTIONS,
but as moc does not accept them, there is no need for it.
Stephen Kelly 12 years ago
parent
commit
a413a40873
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Qt4Macros.cmake

+ 1 - 1
Modules/Qt4Macros.cmake

@@ -124,7 +124,7 @@ macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target)
 
     file (GENERATE
       OUTPUT ${_moc_parameters_file}
-      CONTENT "${targetdefines}${targetincludes}${targetoptions}${_moc_parameters}\n"
+      CONTENT "${targetdefines}${targetincludes}${_moc_parameters}\n"
     )
 
     set(targetincludes)