diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2015-02-04 11:53:59 -0500 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2015-02-07 21:06:44 -0500 |
commit | ff394024a0436160855bcbd4c20856efc83647e3 (patch) | |
tree | 73d0fe8a494ccf631e6eb99d1bb6fba1d3dbda1e /src/vm/wks | |
parent | 0fd1763e028be5ef6a4fd695a18ae19234ebdaf7 (diff) | |
download | coreclr-ff394024a0436160855bcbd4c20856efc83647e3.tar.gz coreclr-ff394024a0436160855bcbd4c20856efc83647e3.tar.bz2 coreclr-ff394024a0436160855bcbd4c20856efc83647e3.zip |
Use list(APPEND) rather than set(var ${var} ...) in CMake
This avoids a variable expansion and avoids the chances of a typo being
introduced in variable names.
Diffstat (limited to 'src/vm/wks')
-rw-r--r-- | src/vm/wks/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/wks/CMakeLists.txt b/src/vm/wks/CMakeLists.txt index a0d2745f8b..49d45ccc2f 100644 --- a/src/vm/wks/CMakeLists.txt +++ b/src/vm/wks/CMakeLists.txt @@ -16,7 +16,7 @@ foreach(DEFINITION IN LISTS COMPILE_DEFINITIONS_LIST) string(TOUPPER ${CMAKE_MATCH_1} CONFIG) set(ASM_DEFINITIONS_${CONFIG} ${ASM_DEFINITIONS_${CONFIG}} ${CMAKE_MATCH_2}) else() - set(ASM_DEFINITIONS ${ASM_DEFINITIONS} ${DEFINITION}) + list(APPEND ASM_DEFINITIONS ${DEFINITION}) endif() endforeach() |