MavSDK main branch fails to build on RPi4 (BlueOS)

Hi Mike,

I was having this exact same issue. I did two things and I honestly am not sure which one made it work

This is my updated cmake call
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=OFF -Bbuild/default -H.

And I removed my apt installation of googletest and libgtest-dev