The only file being installed is the import library, which is fairly useless without the actual shared library. Without having looked at the code I’d say this is a bug in the build system of the package you’re trying to compile. Perhaps it can be fixed, but it’d require reading and understanding the CMake files.
Meson is somewhat nice, but also incredibly stupid and stubborn in many cases. It can’t use lld as linker when targeting macOS, so you have to pass clang_use_lld=false to the build_tarballs(...) function. You’ll note that most recipes on Yggdrasil using Meson have to do the same.