From 5c3c8c1ef594dfd6acbac68684eba1a315de2dc1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 19 Aug 2018 17:36:04 +0200 Subject: [PATCH] CMakeLists.txt: Set DISABLE_WERROR to TRUE by default. There's various compile problems that can result from building with -Werror on by default, which are outside of our control (e.g. that need to be fixed in external libraries), for example #1144 or 1145. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 050e8a35..380f37a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") #= User Options #------------------------------------------------------------------------------- -option(DISABLE_WERROR "Build without -Werror" FALSE) +option(DISABLE_WERROR "Build without -Werror" TRUE) option(ENABLE_SIGNALS "Build with UNIX signals" TRUE) option(ENABLE_STACKTRACE "Enable stack trace when crashing" FALSE) option(ENABLE_DECODE "Build with libsigrokdecode" TRUE) -- 2.30.2