From d093f75f267a0be8e5858fa1eabf7dad209e315b Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Mon, 26 Apr 2021 10:49:59 +0200 Subject: [PATCH] build: unset catalogdir on glade not found Complete commit e88ee1b37a70: if glade-ui is not found, unset the `catalogdir` variable. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 2f10e01f..ed1e529b 100644 --- a/meson.build +++ b/meson.build @@ -82,6 +82,8 @@ if catalogdir == 'yes' or catalogdir == 'check' endif if glade_dep.found() catalogdir = glade_dep.get_variable(pkgconfig: 'catalogdir') + else + catalogdir = '' endif elif catalogdir == 'no' # Both 'no' and '' mean "Do not install catalogs" -- 2.11.4.GIT