From 095fb15a3136fc20642d3ff12bfe26a1aec1b797 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 28 Mar 2022 14:32:31 +0200 Subject: Skeleton ASAP::O consumer --- meson.build | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index be0f6477..964d3f61 100644 --- a/meson.build +++ b/meson.build @@ -69,6 +69,11 @@ if zmqdep.found() conf_data.set10('HAVE_ZMQ', true) endif +asapodep = dependency('libasapo-consumer', required: false) +if asapodep.found() + conf_data.set10('HAVE_ASAPO', 1) +endif + if cc.has_function('clock_gettime', prefix: '#include ') conf_data.set10('HAVE_CLOCK_GETTIME', true) endif @@ -167,8 +172,13 @@ if zmqdep.found() indexamajig_sources += ['src/im-zmq.c'] endif +if asapodep.found() + indexamajig_sources += ['src/im-asapo.c'] +endif + indexamajig = executable('indexamajig', indexamajig_sources, - dependencies: [mdep, libcrystfeldep, gsldep, pthreaddep, zmqdep], + dependencies: [mdep, libcrystfeldep, gsldep, + pthreaddep, zmqdep, asapodep], install: true, install_rpath: '$ORIGIN/../lib64/:$ORIGIN/../lib') -- cgit v1.2.3