From 275cb79a1857fff08ce1b642bbfab6d7377bcaef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2023 12:33:00 +0200 Subject: aa --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 33a63e45..b3118d5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,6 +204,7 @@ fm_run_hook(fm-userconfig-src) if(CMAKE_COMPILER_IS_GNUCXX) add_compile_options(-Wno-float-equal) + add_compile_options(-Wreturn-type -Werror=return-type) endif() if (CMAKE_CXX_COMPILER_ID MATCHES "Clang$") -- cgit v1.2.3