[PATCH] D40761: [CMake] Don't use comma as an alternate separator

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 16:15:59 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319719: [CMake] Don't use comma as an alternate separator (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D40761?vs=125249&id=125444#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D40761

Files:
  llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake


Index: llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
===================================================================
--- llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
+++ llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
@@ -95,7 +95,7 @@
   foreach(prefix ${ARG_PASSTHROUGH_PREFIXES})
     foreach(variableName ${variableNames})
       if(variableName MATCHES "^${prefix}")
-        string(REPLACE ";" "," value "${${variableName}}")
+        string(REPLACE ";" "|" value "${${variableName}}")
         list(APPEND PASSTHROUGH_VARIABLES
           -D${variableName}=${value})
       endif()
@@ -160,7 +160,7 @@
     USES_TERMINAL_CONFIGURE 1
     USES_TERMINAL_BUILD 1
     USES_TERMINAL_INSTALL 1
-    LIST_SEPARATOR ,
+    LIST_SEPARATOR |
     )
 
   if(ARG_USE_TOOLCHAIN)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40761.125444.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/b106dacc/attachment.bin>


More information about the llvm-commits mailing list