[PATCH] D58093: [CMake][runtimes] Use variables rather than ":" delimiters
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 15 20:02:50 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL354194: [CMake] Use variables rather than ":" delimiters (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D58093?vs=187125&id=187126#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58093/new/
https://reviews.llvm.org/D58093
Files:
llvm/trunk/runtimes/CMakeLists.txt
Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -389,11 +389,9 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58093.187126.patch
Type: text/x-patch
Size: 794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190216/09762378/attachment.bin>
More information about the llvm-commits
mailing list