From 00e78f705ec7d3a98d1cfbcd343842545d86c404 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 10 Oct 2017 22:44:02 +0100 Subject: [PATCH] Only build frontend and look for GTK if its requested Signed-off-by: Ikey Doherty --- src/frontend/meson.build | 3 +++ src/meson.build | 1 + 2 files changed, 4 insertions(+) create mode 100644 src/frontend/meson.build diff --git a/src/frontend/meson.build b/src/frontend/meson.build new file mode 100644 index 0000000..14cd65e --- /dev/null +++ b/src/frontend/meson.build @@ -0,0 +1,3 @@ +if get_option('with-frontend') == true + dep_gtk3 = dependency('gtk+-3.0', version: '>= 3.4.0') +endif diff --git a/src/meson.build b/src/meson.build index 7fe9974..93eaeb9 100644 --- a/src/meson.build +++ b/src/meson.build @@ -16,5 +16,6 @@ nica_includes = [ config_h_dir, ] +subdir('frontend') subdir('intercept') subdir('shim')