aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/meson.build')
-rw-r--r--libcrystfel/meson.build4
1 files changed, 3 insertions, 1 deletions
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