From 56dcafece8e3282c492c6004b948fde032bd61d7 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Fri, 13 Sep 2024 19:59:40 +0000 Subject: [PATCH] cmake: use the warnings_as_errors flag for cpp files C++ file compilation is actually missing the warning-as-error handling, causing warnings in build files to be unnoticed in CI. Add a flag to handle them as well. Signed-off-by: Fabio Baltieri --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 952acccbba8..d01529f496d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,6 +152,7 @@ zephyr_compile_options($<$:$:$>) + zephyr_compile_options($<$:$>) zephyr_compile_options($<$:$>) zephyr_link_libraries($) endif()