1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[CMake] Use variables rather than ":" delimiters

This is a follow up to D37644, this block was missed in that change.

Differential Revision: https://reviews.llvm.org/D58093

llvm-svn: 354194
This commit is contained in:
Petr Hosek 2019-02-16 03:57:35 +00:00
parent d458409699
commit d5c68ed6e4

View File

@ -389,11 +389,9 @@ else() # if this is included from LLVM's CMake
endforeach()
foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
if(NOT "${target_name}:${target_name}-${component}" IN_LIST extra_targets)
list(APPEND ${name}_extra_targets
"${target_name}:${target_name}-${component}"
"${target_name}:${target_name}-install-${component}")
endif()
set(${component}-${name} ${component})
set(install-${component}-${name} ${component})
list(APPEND ${name}_extra_targets ${component}-${name} install-${component}-${name})
endforeach()
if(LLVM_INCLUDE_TESTS)