OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5779341
)
[CMake] Removing an unnecessary layer of variable indirection
author
Chris Bieneman
<beanz@apple.com>
Thu, 3 Dec 2015 19:47:04 +0000
(19:47 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Thu, 3 Dec 2015 19:47:04 +0000
(19:47 +0000)
This prevents passthrough variables from having values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254641
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/LLVMExternalProjectUtils.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/LLVMExternalProjectUtils.cmake
b/cmake/modules/LLVMExternalProjectUtils.cmake
index
5d8fb71
..
c2d9f53
100644
(file)
--- a/
cmake/modules/LLVMExternalProjectUtils.cmake
+++ b/
cmake/modules/LLVMExternalProjectUtils.cmake
@@
-95,7
+95,7
@@
function(llvm_ExternalProject_Add name source_dir)
if(variableName MATCHES "^${nameCanon}")
string(REPLACE ";" "\;" value "${${variableName}}")
list(APPEND PASSTHROUGH_VARIABLES
- -D${variableName}=${
${value}
})
+ -D${variableName}=${
value
})
endif()
endforeach()