summaryrefslogtreecommitdiff
path: root/app-text/zeal/files/disable-pkg-set-cflags-0.9.1.patch
blob: a3f3b0617f3ccf6f5dad033701bc814e75850d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CMakeLists.txt	2026-07-29 11:31:43.651420925 -0400
+++ b/CMakeLists.txt	2026-07-30 07:27:03.982936568 -0400
@@ -91,12 +91,8 @@ add_custom_target(zeal_version
 # Enable all compiler warnings and treat them as errors.
 if(MSVC)
     add_compile_options(/W4)
-else()
-    add_compile_options(-Wall -Wextra -Wpedantic)
 endif()
 
-set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
-
 option(ZEAL_FEATURE_UPDATE_CHECK "Automatic update check on startup" ON)
 if(ZEAL_FEATURE_UPDATE_CHECK)
     add_compile_definitions(ZEAL_FEATURE_UPDATE_CHECK)