From e864fed61f102c14ea4624cf463139469c0601d3 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Wed, 11 Sep 2024 07:25:31 +0200 Subject: [PATCH] [uwac] disable clang-tidy for generated files --- uwac/libuwac/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uwac/libuwac/CMakeLists.txt b/uwac/libuwac/CMakeLists.txt index 5985f45b8..6e37898c8 100644 --- a/uwac/libuwac/CMakeLists.txt +++ b/uwac/libuwac/CMakeLists.txt @@ -37,6 +37,8 @@ macro(generate_protocol_file PROTO) list(APPEND GENERATED_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/protocols/${PROTO}-protocol.c) endmacro() +disable_warnings_for_directory(${CMAKE_CURRENT_BINARY_DIR}) + generate_protocol_file(xdg-shell) generate_protocol_file(viewporter) generate_protocol_file(xdg-decoration-unstable-v1)