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.
This commit is contained in:
Robbert van der Helm
2021-12-19 20:55:38 +01:00
parent 00f6e018b3
commit 975b2fdd0f
+2 -1
View File
@@ -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')