[clang] 713800d - [Testing] Fix standalone builds after a7691dee2d3c0ea3f9f4d1

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 21 14:22:52 PDT 2022


Author: Sam McCall
Date: 2022-04-21T23:22:46+02:00
New Revision: 713800d331da199dd387820d1630f0173cba8c8f

URL: https://github.com/llvm/llvm-project/commit/713800d331da199dd387820d1630f0173cba8c8f
DIFF: https://github.com/llvm/llvm-project/commit/713800d331da199dd387820d1630f0173cba8c8f.diff

LOG: [Testing] Fix standalone builds after a7691dee2d3c0ea3f9f4d1

Added: 
    

Modified: 
    clang/lib/Testing/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/lib/Testing/CMakeLists.txt b/clang/lib/Testing/CMakeLists.txt
index d4cf0f868a3d6..68ed32ba85b1e 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().


        


More information about the cfe-commits mailing list