[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:
Juergen Ributzka
2017-06-30 16:50:51 +00:00
parent 65bddf3b68
commit dc482f3f63

View File

@@ -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)