summaryrefslogtreecommitdiff
path: root/src/vm/wks
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2015-02-04 11:53:59 -0500
committerBen Boeckel <mathstuf@gmail.com>2015-02-07 21:06:44 -0500
commitff394024a0436160855bcbd4c20856efc83647e3 (patch)
tree73d0fe8a494ccf631e6eb99d1bb6fba1d3dbda1e /src/vm/wks
parent0fd1763e028be5ef6a4fd695a18ae19234ebdaf7 (diff)
downloadcoreclr-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.txt2
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()