summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt5CoreMacros.cmake
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2011-12-19 22:27:48 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-21 19:57:58 +0100
commit8c207a46e690fb6d18a62ea2bd99ea2f91e14909 (patch)
tree9bcaaeba33d82dcbb66d7dc77e98ca2982a3d6e7 /src/corelib/Qt5CoreMacros.cmake
parentad14089179289b07d832a069377cb7ffd6e011bc (diff)
Port to list(APPEND)
Change-Id: I198622270324eea62dd5ad6343fdf7c89e736e6c Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/Qt5CoreMacros.cmake')
-rw-r--r--src/corelib/Qt5CoreMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/Qt5CoreMacros.cmake b/src/corelib/Qt5CoreMacros.cmake
index f234a240a1..b75711228b 100644
--- a/src/corelib/Qt5CoreMacros.cmake
+++ b/src/corelib/Qt5CoreMacros.cmake
@@ -152,7 +152,7 @@ macro(QT5_WRAP_CPP outfiles )
get_filename_component(it ${it} ABSOLUTE)
qt5_make_output_file(${it} moc_ cxx outfile)
qt5_create_moc_command(${it} ${outfile} "${moc_flags}" "${moc_options}")
- set(${outfiles} ${${outfiles}} ${outfile})
+ list(APPEND ${outfiles} ${outfile})
endforeach()
endmacro()
@@ -197,6 +197,6 @@ macro(QT5_ADD_RESOURCES outfiles )
ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile}
DEPENDS ${_RC_DEPENDS} "${out_depends}" VERBATIM)
- set(${outfiles} ${${outfiles}} ${outfile})
+ list(APPEND ${outfiles} ${outfile})
endforeach()
endmacro()