Port to list(APPEND)

Change-Id: I198622270324eea62dd5ad6343fdf7c89e736e6c
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Stephen Kelly 2011-12-19 22:27:48 +01:00 committed by Qt by Nokia
parent ad14089179
commit 8c207a46e6
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -59,6 +59,6 @@ macro(QT5_WRAP_UI outfiles )
COMMAND ${QT_UIC_EXECUTABLE}
ARGS ${ui_options} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile} VERBATIM)
set(${outfiles} ${${outfiles}} ${outfile})
list(APPEND ${outfiles} ${outfile})
endforeach()
endmacro()