mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
chore(build): allow downstream force enable/disable libnotify
This commit is contained in:
parent
1c8022c9a9
commit
772c60523e
@ -44,7 +44,7 @@ realtime = cc.find_library('rt')
|
||||
gtk = dependency('gtk+-3.0', version: '>=3.20.0')
|
||||
gio = dependency('gio-2.0')
|
||||
|
||||
libnotify = dependency('libnotify', required: false)
|
||||
libnotify = dependency('libnotify', required: get_option('libnotify'))
|
||||
|
||||
if libnotify.found()
|
||||
add_project_arguments('-DHAVE_LIBNOTIFY', language: 'c')
|
||||
|
@ -1 +1,2 @@
|
||||
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
|
||||
option('libnotify', type: 'feature', value: 'auto', description: 'Send desktop notifications')
|
||||
|
Loading…
Reference in New Issue
Block a user