Fix lean and mean definition

This commit is contained in:
Nicolas Werner 2021-12-23 16:30:36 +01:00
parent 9aae585ec6
commit bc5c8189da
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -320,7 +320,7 @@ if host_machine.system() == 'darwin'
deps += dependency('UserNotifications', method: 'extraframework')
elif host_machine.system() == 'windows'
sources += ['src/notifications/ManagerWin.cpp']
add_project_arguments('-DNOMINMAX WIN32_LEAN_AND_MEAN', '-DSTRICT', '/Zc:__cplusplus', language: 'cpp')
add_project_arguments('-DNOMINMAX', '-DWIN32_LEAN_AND_MEAN', '-DSTRICT', '/Zc:__cplusplus', language: 'cpp')
deps += dependency('wintoast')
else
sources += ['src/notifications/ManagerLinux.cpp']