🚧 disable -Werror

This commit is contained in:
Vladislav Nepogodin 2022-06-06 00:42:31 +04:00
parent 1c923cdbc9
commit e30c833466
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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')