summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-12-03 19:47:04 +0000
committerChris Bieneman <beanz@apple.com>2015-12-03 19:47:04 +0000
commit4b44a763413e204749316267a209fa6cab022896 (patch)
tree7e21d5cc44bcdf72791626a47302270e0cf08cc4 /llvm/cmake
parent92b3b16ba31832dfd0efa51a10439803888ab7cc (diff)
downloadbcm5719-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.cmake2
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()
OpenPOWER on IntegriCloud