diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2021-07-13 11:12:22 -0500 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2021-07-13 11:26:59 -0500 |
commit | cbb0927a7a9113d3b6b772e7b0566752dd54e6dd (patch) | |
tree | cae52705307854fdf61f863f9c019f1e1fc81102 /src/fe-gtk/meson.build | |
parent | 25440a07c3b421134b4376d7db3ee4b7ed57ad98 (diff) |
build: Misc cleanup of options
Cleanup of option names, use features where applicable, and printing of summary.
Diffstat (limited to 'src/fe-gtk/meson.build')
-rw-r--r-- | src/fe-gtk/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-gtk/meson.build b/src/fe-gtk/meson.build index 3dfc7427..020d2631 100644 --- a/src/fe-gtk/meson.build +++ b/src/fe-gtk/meson.build @@ -43,9 +43,9 @@ hexchat_gtk_cflags = [] hexchat_gtk_ldflags = [] -if get_option('with-libnotify') +if libnotify_dep.found() hexchat_gtk_sources += 'notifications/notification-libnotify.c' - hexchat_gtk_deps += dependency('libnotify') + hexchat_gtk_deps += libnotify_dep elif false # TODO HAVE_GTK_MAC elif host_machine.system() == 'windows' hexchat_gtk_sources += 'notifications/notification-windows.c' @@ -69,7 +69,7 @@ if iso_codes.found() join_paths(iso_codes_prefix, 'share/locale')) endif -if get_option('with-plugin') +if get_option('plugin') hexchat_gtk_sources += 'plugingui.c' endif |