From 57f58fbc10a4df66b4e0b428e6e78455227ee217 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 3 Dec 2015 19:47:04 +0000 Subject: [PATCH] [CMake] Removing an unnecessary layer of variable indirection This prevents passthrough variables from having values. llvm-svn: 254641 --- cmake/modules/LLVMExternalProjectUtils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()