diff --git a/app/src/main/cpp/waylandcomp/CMakeLists.txt b/app/src/main/cpp/waylandcomp/CMakeLists.txt index 154bd02b6b..13e7754d14 100644 --- a/app/src/main/cpp/waylandcomp/CMakeLists.txt +++ b/app/src/main/cpp/waylandcomp/CMakeLists.txt @@ -33,6 +33,9 @@ add_library(bannerwayland SHARED src/framegen_bridge.c src/framegen_jni.c ) +# Warnings on for the compositor's own C. They do not fail the build; they are there to be read. +target_compile_options(bannerwayland PRIVATE + $<$:-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers>) target_include_directories(bannerwayland PRIVATE generated prebuilt/include