From 7cee973016866f1aa8dc40e218cbd7fe2e200acc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 7 Oct 2021 09:21:31 +0200 Subject: Meson: Get Xgandalf via wrap --- libcrystfel/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/meson.build b/libcrystfel/meson.build index 65a30f6a..5c8a0652 100644 --- a/libcrystfel/meson.build +++ b/libcrystfel/meson.build @@ -17,7 +17,9 @@ if ncursesdep.found() conf_data.set10('HAVE_CURSES', 1) endif -xgandalfdep = dependency('xgandalf', required: false) +xgandalfdep = dependency('xgandalf', + required: false, + fallback: ['xgandalf', 'xgandalf_dep']) if xgandalfdep.found() conf_data.set10('HAVE_XGANDALF', 1) endif -- cgit v1.2.3