diff options
-rw-r--r-- | meson.build | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/meson.build b/meson.build index bef509ff..e1eb56d4 100644 --- a/meson.build +++ b/meson.build @@ -45,20 +45,12 @@ if fftwdep.found() endif gtkdep = dependency('gtk+-3.0', required : false) -if not gtkdep.found() - gtkdep = dependency('gtk+-2.0', required : false) -else - add_project_arguments('-Wno-deprecated-declarations', language : 'c') -endif - if gtkdep.found() + add_project_arguments('-Wno-deprecated-declarations', language : 'c') conf_data.set10('HAVE_GTK', 1) endif gdkdep = dependency('gdk-3.0', required : false) -if not gdkdep.found() - gdkdep = dependency('gdk-2.0', required : false) -endif if gdkdep.found() conf_data.set10('HAVE_GDK', 1) endif |