aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-10-07 09:21:31 +0200
committerThomas White <taw@physics.org>2021-10-07 09:22:42 +0200
commit7cee973016866f1aa8dc40e218cbd7fe2e200acc (patch)
tree268b398becd247c48dac565acf01fefbd9628b76 /libcrystfel
parent64d4208438b1847a9b8dd1f28499b7bedce1be54 (diff)
Meson: Get Xgandalf via wrap
Diffstat (limited to 'libcrystfel')
-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