projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567f7f0
)
Fix the build when LLVM_TARGETS_TO_BUILD is empty.
author
Juergen Ributzka
<juergen@ributzka.de>
Wed, 19 Sep 2018 21:36:26 +0000
(21:36 +0000)
committer
Juergen Ributzka
<juergen@ributzka.de>
Wed, 19 Sep 2018 21:36:26 +0000
(21:36 +0000)
Using LLVMTestingSupport in the LLVM_LINK_COMPONENTS breaks the build when
LLVM_TARGETS_TO_BUILD is set to empty.
Libraries that depend on LLVMTestingSupport need to use
target_link_libraries(<target> PRIVATE LLVMTestingSupport) instead.
This required change was already commited by r341899 to fix another build
issue.
This fixes rdar://problem/
44615064
.
llvm-svn: 342593
llvm/unittests/XRay/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/unittests/XRay/CMakeLists.txt
b/llvm/unittests/XRay/CMakeLists.txt
index
37dbc29
..
a080985
100644
(file)
--- a/
llvm/unittests/XRay/CMakeLists.txt
+++ b/
llvm/unittests/XRay/CMakeLists.txt
@@
-1,7
+1,6
@@
set(LLVM_LINK_COMPONENTS
Support
XRay
- TestingSupport
)
add_llvm_unittest(XRayTests