From 2b01bc711b56d6e5a5b27e4addb377fb572cdff2 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 3 Dec 2015 19:47:25 +0000 Subject: [PATCH] [CMake] Removing an unnecessary layer of variable indirection This prevents passthrough variables from having values. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254642 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 1f6455c90c..27f028efc6 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -51,7 +51,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/) if(variableName MATCHES "^COMPILER_RT") string(REPLACE ";" "\;" value "${${variableName}}") list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES - -D${variableName}=${${value}}) + -D${variableName}=${value}) endif() endforeach() -- 2.50.1