r254642 - [CMake] Removing an unnecessary layer of variable indirection
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 3 11:47:25 PST 2015
Author: cbieneman
Date: Thu Dec 3 13:47:25 2015
New Revision: 254642
URL: http://llvm.org/viewvc/llvm-project?rev=254642&view=rev
Log:
[CMake] Removing an unnecessary layer of variable indirection
This prevents passthrough variables from having values.
Modified:
cfe/trunk/runtime/CMakeLists.txt
Modified: cfe/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/CMakeLists.txt?rev=254642&r1=254641&r2=254642&view=diff
==============================================================================
--- cfe/trunk/runtime/CMakeLists.txt (original)
+++ cfe/trunk/runtime/CMakeLists.txt Thu Dec 3 13:47:25 2015
@@ -51,7 +51,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND E
if(variableName MATCHES "^COMPILER_RT")
string(REPLACE ";" "\;" value "${${variableName}}")
list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
- -D${variableName}=${${value}})
+ -D${variableName}=${value})
endif()
endforeach()
More information about the cfe-commits
mailing list