summaryrefslogtreecommitdiff
path: root/clang/cmake/caches/Fuchsia.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'clang/cmake/caches/Fuchsia.cmake')
-rw-r--r--clang/cmake/caches/Fuchsia.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index 1032dc82e740..5596cc61359c 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -182,7 +182,8 @@ get_cmake_property(variableNames VARIABLES)
foreach(variableName ${variableNames})
if(variableName MATCHES "^STAGE2_")
string(REPLACE "STAGE2_" "" new_name ${variableName})
- list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
+ string(REPLACE ";" "|" value "${${variableName}}")
+ list(APPEND EXTRA_ARGS "-D${new_name}=${value}")
endif()
endforeach()