]> sigrok.org Git - pulseview.git/commitdiff
CMakeLists.txt: Set DISABLE_WERROR to TRUE by default.
authorUwe Hermann <redacted>
Sun, 19 Aug 2018 15:36:04 +0000 (17:36 +0200)
committerUwe Hermann <redacted>
Sun, 19 Aug 2018 15:39:27 +0000 (17:39 +0200)
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

index 050e8a351a1f19b30d54b9c24ba3613d11ae1677..380f37a9320cb1567fb5cea95c4fd107f837e73b 100644 (file)
@@ -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)