diff --git a/tools/ctl/CMakeLists.txt b/tools/ctl/CMakeLists.txt index 6cf6fea59..70735f88d 100644 --- a/tools/ctl/CMakeLists.txt +++ b/tools/ctl/CMakeLists.txt @@ -8,6 +8,10 @@ target_link_libraries(sof-ctl PRIVATE "-lasound" ) +target_compile_options(sof-ctl PRIVATE + -Wall -Werror +) + target_include_directories(sof-ctl PRIVATE "${SOF_ROOT_SOURCE_DIRECTORY}/src/include" "${SOF_ROOT_SOURCE_DIRECTORY}"