X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/3339bee3f62dbfa3586cc4db5201f7fc704ab037..45e0326f3c336070c59b7e501a2c720dd0a203aa:/CMakeLists.txt?ds=inline diff --git a/CMakeLists.txt b/CMakeLists.txt index 199bc80..be8e4e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ if (CMAKE_COMPILER_IS_GNUCC) ) endif() -set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1") +set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror") set(CMAKE_C_FLAGS_RELEASE "-O2") set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")