mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 disable -Werror
This commit is contained in:
parent
1c923cdbc9
commit
e30c833466
@ -1,5 +1,5 @@
|
||||
function(set_project_warnings project_name)
|
||||
option(WARNINGS_AS_ERRORS "Treat compiler warnings as errors" ON)
|
||||
option(WARNINGS_AS_ERRORS "Treat compiler warnings as errors" OFF)
|
||||
|
||||
set(MSVC_WARNINGS
|
||||
/W4 # Baseline reasonable warnings
|
||||
|
@ -5,7 +5,7 @@ project('cachyos-installer', 'cpp',
|
||||
default_options: ['cpp_std=c++20',
|
||||
'buildtype=debugoptimized',
|
||||
'warning_level=3',
|
||||
'werror=true',
|
||||
'werror=false',
|
||||
'b_ndebug=if-release'])
|
||||
|
||||
is_debug_build = get_option('buildtype').startswith('debug')
|
||||
|
Loading…
Reference in New Issue
Block a user