mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-21 21:36:18 +01:00
add WARNINGS_AS_ERRORS cmake option (#176)
This commit is contained in:
parent
aa02012c14
commit
566076e3d8
3 changed files with 11 additions and 1 deletions
2
build.py
2
build.py
|
|
@ -286,6 +286,8 @@ def libs(clean, static, shared, skip_formatter, just_release):
|
|||
|
||||
if IS_BUILD_MACHINE:
|
||||
just_release = True
|
||||
static_options['WARNINGS_AS_ERRORS'] = True
|
||||
dynamic_options['WARNINGS_AS_ERRORS'] = True
|
||||
|
||||
if PLATFORM == 'win':
|
||||
generator32 = 'Visual Studio 14 2015'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue