llvm.org GIT mirror llvm / de0aeb8
[CMake] Don't use comma as an alternate separator Using comma can break in cases when we're passing flags that already use comma as a separator. Fixes PR35504. Differential Revision: https://reviews.llvm.org/D40761 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319719 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 1 year, 10 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9494 foreach(prefix ${ARG_PASSTHROUGH_PREFIXES})
9595 foreach(variableName ${variableNames})
9696 if(variableName MATCHES "^${prefix}")
97 string(REPLACE ";" "," value "${${variableName}}")
97 string(REPLACE ";" "|" value "${${variableName}}")
9898 list(APPEND PASSTHROUGH_VARIABLES
9999 -D${variableName}=${value})
100100 endif()
159159 USES_TERMINAL_CONFIGURE 1
160160 USES_TERMINAL_BUILD 1
161161 USES_TERMINAL_INSTALL 1
162 LIST_SEPARATOR ,
162 LIST_SEPARATOR |
163163 )
164164
165165 if(ARG_USE_TOOLCHAIN)