[runtimes] Fix installation for LLVM_RUNTIME_DISTRIBUTION_COMPONENTS

The installation target we create should trigger the corresponding
installation target in the runtimes external project.

Differential Revision: https://reviews.llvm.org/D73251
This commit is contained in:
Shoaib Meenai 2020-01-22 22:16:28 -08:00
parent f60671f049
commit b1da8eba60
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ else() # if this is included from LLVM's CMake
foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
set(${component}-${name} ${component})
set(install-${component}-${name} ${component})
set(install-${component}-${name} install-${component})
list(APPEND ${name}_extra_targets ${component}-${name} install-${component}-${name})
endforeach()