зеркало из https://github.com/microsoft/clang.git
[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
This commit is contained in:
Родитель
a2892f0167
Коммит
2b01bc711b
|
@ -51,7 +51,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
|
||||||
if(variableName MATCHES "^COMPILER_RT")
|
if(variableName MATCHES "^COMPILER_RT")
|
||||||
string(REPLACE ";" "\;" value "${${variableName}}")
|
string(REPLACE ";" "\;" value "${${variableName}}")
|
||||||
list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
|
list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
|
||||||
-D${variableName}=${${value}})
|
-D${variableName}=${value})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче