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().