[uwac] disable clang-tidy for generated files

This commit is contained in:
akallabeth 2024-09-11 07:25:31 +02:00
parent 9fed64eb0d
commit e864fed61f
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 2 additions and 0 deletions

View File

@ -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)