diff options
| author | Zachary Turner <zturner@google.com> | 2017-06-14 22:33:43 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-06-14 22:33:43 +0000 |
| commit | dced7c9190921b84e60ea79e88261369415d3347 (patch) | |
| tree | 4884f054a65660e290b0d8cce32ec567b8a666d1 /llvm/unittests/DebugInfo | |
| parent | 2b5ed126a8c3e01bf2199a9f2658aaffb0afe127 (diff) | |
| download | bcm5719-llvm-dced7c9190921b84e60ea79e88261369415d3347.tar.gz bcm5719-llvm-dced7c9190921b84e60ea79e88261369415d3347.zip | |
Don't include TestingSupport in LLVM_LINK_COMPONENTS.
Instead use target_link_libraries directly. Thanks to
Juergen Ributzka for the suggestion, which fixes an issue
when llvm is configured with no targets.
llvm-svn: 305421
Diffstat (limited to 'llvm/unittests/DebugInfo')
| -rw-r--r-- | llvm/unittests/DebugInfo/CodeView/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | llvm/unittests/DebugInfo/PDB/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/CodeView/CMakeLists.txt b/llvm/unittests/DebugInfo/CodeView/CMakeLists.txt index 800f482d668..6f504d8149b 100644 --- a/llvm/unittests/DebugInfo/CodeView/CMakeLists.txt +++ b/llvm/unittests/DebugInfo/CodeView/CMakeLists.txt @@ -1,6 +1,5 @@ set(LLVM_LINK_COMPONENTS DebugInfoCodeView - TestingSupport ) set(DebugInfoCodeViewSources @@ -11,3 +10,5 @@ set(DebugInfoCodeViewSources add_llvm_unittest(DebugInfoCodeViewTests ${DebugInfoCodeViewSources} ) + +target_link_libraries(DebugInfoCodeViewTests LLVMTestingSupport)
\ No newline at end of file diff --git a/llvm/unittests/DebugInfo/PDB/CMakeLists.txt b/llvm/unittests/DebugInfo/PDB/CMakeLists.txt index ce6dadfbcdb..989cb396f67 100644 --- a/llvm/unittests/DebugInfo/PDB/CMakeLists.txt +++ b/llvm/unittests/DebugInfo/PDB/CMakeLists.txt @@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS DebugInfoCodeView DebugInfoMSF DebugInfoPDB - TestingSupport ) set(DebugInfoPDBSources @@ -17,3 +16,5 @@ set(DebugInfoPDBSources add_llvm_unittest(DebugInfoPDBTests ${DebugInfoPDBSources} ) + +target_link_libraries(DebugInfoPDBTests LLVMTestingSupport)
\ No newline at end of file |

