From: Uwe Hermann Date: Sun, 19 Aug 2018 15:36:04 +0000 (+0200) Subject: CMakeLists.txt: Set DISABLE_WERROR to TRUE by default. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5c3c8c1ef594dfd6acbac68684eba1a315de2dc1;p=pulseview.git 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. --- 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)