f4exb / dsdcc

Digital Speech Decoder (DSD) rewritten as a C++ library
286 stars 60 forks source link

Require mbelib if USE_MBELIB is specified #63

Closed argilo closed 5 months ago

argilo commented 5 months ago

If -DUSE_MBELIB=ON is specified but mbelib is missing, DSDcc builds successfully but without mbelib support. This can lead to confusion, so I think it would be better to fail and report an error message in this case. I've done that by adding the REQUIRED option to the find_package command.