[cmake] Increase minimum required version of CMake to 3.5#1019
Conversation
CMake 4 refuses to accept a minimum required version below 3.5 without additional flags.
|
I'm hitting this as well, and it'll be a bigger and bigger problem as more and more systems start distributing cmake 4 by default. This MR fixes the issue. Although the PortAudio project may want to consider whether it actually supports CMake 3.5, or if a higher number would be more appropriate. |
|
@RossBencina - this seems like a reasonable step towards the evantual 3.10 patch. What do you think? |
|
This PR (#1019) moves from CMake 3.1.0 -> 3.5, which is the minimum required version that CMake 4.0 will accept. Note that this PR still causes a deprecation warning, therefore does NOT address #1016. With a view towards Docker images, using 3.5 maintains compatibility with Ubuntu LTS 16.04 (Xenial Xerus), which ships with CMake 3.5.1. Note that Ubuntu 14.04 shipped with 2.8.12 so we don't care about that. For reference, PR #1013 is to require CMake 3.10 and there is more discussion there. |
RossBencina
left a comment
There was a problem hiding this comment.
Seems like the appropriate next step.
CMake 4 refuses to accept a minimum required version below 3.5 without additional flags.