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 | 4b44a763413e204749316267a209fa6cab022896 (patch) | |
tree | 7e21d5cc44bcdf72791626a47302270e0cf08cc4 /llvm/cmake | |
parent | 92b3b16ba31832dfd0efa51a10439803888ab7cc (diff) | |
download | bcm5719-llvm-4b44a763413e204749316267a209fa6cab022896.tar.gz bcm5719-llvm-4b44a763413e204749316267a209fa6cab022896.zip |
[CMake] Removing an unnecessary layer of variable indirection
This prevents passthrough variables from having values.
llvm-svn: 254641
Diffstat (limited to 'llvm/cmake')
-rw-r--r-- | llvm/cmake/modules/LLVMExternalProjectUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/LLVMExternalProjectUtils.cmake b/llvm/cmake/modules/LLVMExternalProjectUtils.cmake index 5d8fb71e08b..c2d9f530c20 100644 --- a/llvm/cmake/modules/LLVMExternalProjectUtils.cmake +++ b/llvm/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() |