From 713800d331da199dd387820d1630f0173cba8c8f Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Thu, 21 Apr 2022 23:22:22 +0200 Subject: [PATCH] [Testing] Fix standalone builds after a7691dee2d3c0ea3f9f4d1 --- clang/lib/Testing/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/lib/Testing/CMakeLists.txt b/clang/lib/Testing/CMakeLists.txt index d4cf0f868a3d..68ed32ba85b1 100644 --- a/clang/lib/Testing/CMakeLists.txt +++ b/clang/lib/Testing/CMakeLists.txt @@ -1,3 +1,6 @@ +# Don't include this target in LLVMExports. FIXME: is there a cleaner way? +set(EXCLUDE_FROM_ALL ON) + # Not add_clang_library: this is not part of clang's public library interface. # Unit tests should depend on this with target_link_libraries(), rather # than with clang_target_link_libraries().