From 8c207a46e690fb6d18a62ea2bd99ea2f91e14909 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 19 Dec 2011 22:27:48 +0100 Subject: Port to list(APPEND) Change-Id: I198622270324eea62dd5ad6343fdf7c89e736e6c Reviewed-by: Alexander Neundorf Reviewed-by: Stephen Kelly --- src/corelib/Qt5CoreMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/Qt5CoreMacros.cmake') 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() -- cgit v1.2.3