Skip to content

Commit

Permalink
[CMake] Use variables rather than ":" delimiters
Browse files Browse the repository at this point in the history
This is a follow up to D37644, this block was missed in that change.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354194 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
petrhosek committed Feb 16, 2019
1 parent df61a58 commit 33b741c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions runtimes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 33b741c

Please sign in to comment.