Fix lean and mean definition

easy-qt6-bits
Nicolas Werner 3 years ago
parent 9aae585ec6
commit bc5c8189da
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      meson.build

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

Loading…
Cancel
Save