mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Fix the build when LLVM_TARGETS_TO_BUILD is empty.
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
This commit is contained in:
parent
f916249370
commit
f08c917be0
@ -1,7 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
XRay
|
||||
TestingSupport
|
||||
)
|
||||
|
||||
add_llvm_unittest(XRayTests
|
||||
|
Loading…
Reference in New Issue
Block a user