diff options
| author | Juergen Ributzka <juergen@ributzka.de> | 2018-09-19 21:36:26 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@ributzka.de> | 2018-09-19 21:36:26 +0000 |
| commit | 67fb2134c09f33cfc44142c52b5c896a0851daad (patch) | |
| tree | 8bd571614166587a2d7524698789bda4e79f18e3 | |
| parent | 567f7f0a95b28d822ab6d65f22976a724fb05c84 (diff) | |
| download | bcm5719-llvm-67fb2134c09f33cfc44142c52b5c896a0851daad.tar.gz bcm5719-llvm-67fb2134c09f33cfc44142c52b5c896a0851daad.zip | |
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
| -rw-r--r-- | llvm/unittests/XRay/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/XRay/CMakeLists.txt b/llvm/unittests/XRay/CMakeLists.txt index 37dbc293383..a08098582ae 100644 --- a/llvm/unittests/XRay/CMakeLists.txt +++ b/llvm/unittests/XRay/CMakeLists.txt @@ -1,7 +1,6 @@ set(LLVM_LINK_COMPONENTS Support XRay - TestingSupport ) add_llvm_unittest(XRayTests |

