Skip to content

Commit

Permalink
Remove extraneous depdendency detection on libnotify
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamwhiteuk committed Feb 12, 2021
1 parent 4966081 commit 8572d5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ libnm = dependency('libnm', required: true)
glib2 = dependency('glib-2.0', required: true)
libnotify = dependency('libnotify', required: false, version: '>= 0.7.0')

libnotify_dep = dependency('libnotify', version: '>= 0.4.3')
config_h.set10('HAVE_LIBNOTIFY_07', libnotify_dep.found() and libnotify_dep.version().version_compare('>= 0.7'),
config_h.set10('HAVE_LIBNOTIFY_07', libnotify.found() and libnotify.version().version_compare('>= 0.7'),
description: 'Define if you have libnotify 0.7 or later')

deps = [libnm, glib2, libnotify, dlopen]
Expand Down

0 comments on commit 8572d5a

Please sign in to comment.