forked from OSchip/llvm-project
[CMake] Removing an unnecessary layer of variable indirection
This prevents passthrough variables from having values. llvm-svn: 254642
This commit is contained in:
parent
4b44a76341
commit
865c4ee9cb
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue