aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/meson.build
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-23 18:05:22 +0200
committerThomas White <taw@physics.org>2021-04-23 18:05:22 +0200
commit7d3a20f3d5209297575189839c7bf1ac64ceb96a (patch)
treef96b12447b4936d34c713a7f52413a1e2e5fbb99 /libcrystfel/meson.build
parenta378be62b61d4c8a67c5523955babbd3f9d17b5c (diff)
Fix build without MsgPack
Diffstat (limited to 'libcrystfel/meson.build')
-rw-r--r--libcrystfel/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/meson.build b/libcrystfel/meson.build
index 09640f9d..3ee9d495 100644
--- a/libcrystfel/meson.build
+++ b/libcrystfel/meson.build
@@ -107,6 +107,7 @@ libcrystfel_sources = ['src/image.c',
'src/fom.c',
'src/image-cbf.c',
'src/image-hdf5.c',
+ 'src/image-msgpack.c',
'src/indexers/dirax.c',
'src/indexers/felix.c',
'src/indexers/mosflm.c',
@@ -120,10 +121,6 @@ libcrystfel_sources = ['src/image.c',
symop_parse_ch,
]
-if msgpackdep.found()
- libcrystfel_sources += 'src/image-msgpack.c'
-endif
-
configure_file(input : 'config.h.in',
output : 'config.h',
configuration : conf_data)