[llvm] r354194 - [CMake] Use variables rather than ":" delimiters
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 15 19:57:36 PST 2019
Author: phosek
Date: Fri Feb 15 19:57:35 2019
New Revision: 354194
URL: http://llvm.org/viewvc/llvm-project?rev=354194&view=rev
Log:
[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
Modified:
llvm/trunk/runtimes/CMakeLists.txt
Modified: llvm/trunk/runtimes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtimes/CMakeLists.txt?rev=354194&r1=354193&r2=354194&view=diff
==============================================================================
--- llvm/trunk/runtimes/CMakeLists.txt (original)
+++ llvm/trunk/runtimes/CMakeLists.txt Fri Feb 15 19:57:35 2019
@@ -389,11 +389,9 @@ else() # if this is included from LLVM's
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)
More information about the llvm-commits
mailing list