You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root CMakeLists file in libsdptransform declares CMake dependency as >3.0:
cmake_minimum_required(VERSION3.0)
On my environment, which is quite typical for iOS developer now I can't build libmediasoupclient because of libsdptransform:
CMake Error at ~/mediasoup-client-swift/build/libmediasoupclient/device/arm64/_deps/libsdptransform-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
If I change this version requirement to 3.5, project can be built. But still there is a deprecation warning:
Compatibility with CMake < 3.10 will be removed from a future version of CMake.
I believe we can safely bump minimum CMake version requirement to 3.10, which is ~9 years old.
Activity
fedulvtubudul commentedon Feb 10, 2026
I also wanted to make a PR, but there is one already which will fix this. Could you consider merging it please? #33
ibc commentedon Feb 10, 2026
Will do on next days