summaryrefslogtreecommitdiff
path: root/app-text/zeal/files/disable-pkg-set-cflags-0.9.2.patch
blob: 7653484bc1941dbe45bde1c814f7910484bc30e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CMakeLists.txt	2026-10-31 08:39:42.498904405 -0400
+++ b/CMakeLists.txt	2026-10-31 08:39:51.647227192 -0400
@@ -97,12 +97,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)