From 865c4ee9cbdf5824103bdaf405b35dd447a14868 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 3 Dec 2015 19:47:25 +0000 Subject: [CMake] Removing an unnecessary layer of variable indirection This prevents passthrough variables from having values. llvm-svn: 254642 --- clang/runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/runtime') diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt index 1f6455c90cb..27f028efc63 100644 --- a/clang/runtime/CMakeLists.txt +++ b/clang/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() -- cgit v1.2.3