diff options
author | Chris Bieneman <beanz@apple.com> | 2015-12-03 19:47:04 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-12-03 19:47:04 +0000 |
commit | 208ed9b5fb3eb00c3cc52e647df6cfce49168449 (patch) | |
tree | 4b6bc3111bac85d21c48469570959e32faa42221 /cmake | |
parent | 5779341a6d68c4f4971c4f0b0033b41f6cb10662 (diff) |
[CMake] Removing an unnecessary layer of variable indirection
This prevents passthrough variables from having values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/LLVMExternalProjectUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/LLVMExternalProjectUtils.cmake b/cmake/modules/LLVMExternalProjectUtils.cmake index 5d8fb71e08b..c2d9f530c20 100644 --- 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() |