From 928939426126dd1d24481a72b4798fa4a78320d6 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 23 Apr 2020 21:50:25 +0200 Subject: [PATCH] Remove some compile options --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e28e54ab4..c0f9b8ccd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,11 +49,8 @@ list(APPEND COMPILE_OPTIONS -Wmissing-declarations -Wstrict-overflow=2 -Wunused-parameter - -Wduplicated-branches - -Wduplicated-cond -Wformat=2 -Wdisabled-optimization - -Wunsafe-loop-optimizations -Wno-sign-conversion -Wno-old-style-cast -fpermissive @@ -63,7 +60,7 @@ if(APPLE) list(APPEND COMPILE_OPTIONS -Wno-unused-parameter) endif() -option(BUILD_WERROR "Build with -Werror" ON) +option(BUILD_WERROR "Build with -Werror" OFF) if(BUILD_WERROR) list(APPEND COMPILE_OPTIONS -Werror) endif(BUILD_WERROR)