Author: Sam McCall
Date: 2022-04-04T15:30:11+02:00
New Revision: 72ae6cc3a689869dcc15cfa8d0abcdd35a35a484

URL: 
https://github.com/llvm/llvm-project/commit/72ae6cc3a689869dcc15cfa8d0abcdd35a35a484
DIFF: 
https://github.com/llvm/llvm-project/commit/72ae6cc3a689869dcc15cfa8d0abcdd35a35a484.diff

LOG: [pseudo] respect CLANG_INCLUDE_TESTS

Added: 
    

Modified: 
    clang-tools-extra/pseudo/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/pseudo/CMakeLists.txt 
b/clang-tools-extra/pseudo/CMakeLists.txt
index a10884ad406b9..fe7f7c63fb75e 100644
--- a/clang-tools-extra/pseudo/CMakeLists.txt
+++ b/clang-tools-extra/pseudo/CMakeLists.txt
@@ -2,5 +2,7 @@ include_directories(include)
 include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
 add_subdirectory(lib)
 add_subdirectory(tool)
-add_subdirectory(unittests)
-add_subdirectory(test)
+if(CLANG_INCLUDE_TESTS)
+  add_subdirectory(unittests)
+  add_subdirectory(test)
+endif()


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to