mirror of
https://github.com/RPCSX/llvm.git
synced 2026-01-31 01:05:23 +01:00
[DWARF] Don't include TestingSupport in LLVM_LINK_COMPONENTS.
This fixes a cmake configuration issue when LLVM is configured with no targets. Instead we need to add TestingSupport directly with target_link_libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6,7 +6,6 @@ set(LLVM_LINK_COMPONENTS
|
||||
Object
|
||||
ObjectYAML
|
||||
Support
|
||||
TestingSupport
|
||||
)
|
||||
|
||||
set(DebugInfoSources
|
||||
@@ -18,3 +17,5 @@ set(DebugInfoSources
|
||||
add_llvm_unittest(DebugInfoDWARFTests
|
||||
${DebugInfoSources}
|
||||
)
|
||||
|
||||
target_link_libraries(DebugInfoDWARFTests LLVMTestingSupport)
|
||||
|
||||
Reference in New Issue
Block a user