Fix build with CMake 4.

Merged Ghislain MARY requested to merge fix/build-with-cmake4 into bc

The minimum required CMake version must be >= 3.5. Use 3.22 as this is the version required to build the linphone SDK.

Merge request reports