Starting with MAVSDK 0.39.0 we can specify the version required. This way we can fail at configure time instead of later during compilation or linking.
This way it can be better picked up by CI scripts.