From: Chris Bieneman Date: Thu, 3 Dec 2015 19:47:25 +0000 (+0000) Subject: [CMake] Removing an unnecessary layer of variable indirection X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b01bc711b56d6e5a5b27e4addb377fb572cdff2;p=clang [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 --- 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()