From 975b2fdd0f541d09044c0f859fa949633061b82c Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 19 Dec 2021 20:55:38 +0100 Subject: [PATCH] Also look for bitsery with a capital letter B Because that's how it's spelled in the CMake config (with the directory being lower case). Fun thing is that Meson still expects all dependency names to be lower case (as it should) so the diagnostics during the `meson setup` phase looks a bit strange now. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 81b02bc9..c594d85c 100644 --- a/meson.build +++ b/meson.build @@ -228,7 +228,8 @@ endif # and 64-bit versions boost_dep = dependency('boost', version : '>=1.66', static : with_static_boost) -bitsery_dep = dependency('bitsery', version : '>=5.2.0') +# Bitsery's CMake build definition is capitalized for some reason +bitsery_dep = dependency('bitsery', 'Bitsery', version : '>=5.2.0') function2_dep = dependency('function2', version : '>=4.0.0') threads_dep = dependency('threads') tomlplusplus_dep = dependency('tomlplusplus', version : '>=2.0.0')