diff options
| author | Juergen Ributzka <juergen@ributzka.de> | 2017-06-30 16:50:51 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@ributzka.de> | 2017-06-30 16:50:51 +0000 |
| commit | 5086cb55e81dc0132098490211411cdef1b9adad (patch) | |
| tree | 6f526ee2822f47aa4c5155224ad452d64b5116d5 /llvm/unittests/DebugInfo/DWARF | |
| parent | 079e5db81fa6783ab722a570e36bea8c92301e25 (diff) | |
| download | bcm5719-llvm-5086cb55e81dc0132098490211411cdef1b9adad.tar.gz bcm5719-llvm-5086cb55e81dc0132098490211411cdef1b9adad.zip | |
[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.
llvm-svn: 306842
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF')
| -rw-r--r-- | llvm/unittests/DebugInfo/DWARF/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt index 7e4bece0960..1966472a946 100644 --- a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt +++ b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt @@ -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) |

