X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/dbfb92b2fdf5c9d0bee3db9cd1ffe643e880055a..3dcf58dc4693136812e4b3ccba3b0f726c1bf3d2:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c9b1c1..be8e4e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,6 @@ if (CMAKE_COMPILER_IS_GNUCC) add_flags(CMAKE_C_FLAGS -fno-common -Wall - -Werror -Wextra -Wformat=2 -Winit-self @@ -72,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")