Current baseline is Ubuntu 16.04 with CMake 3.5. When the baseline is changed to Ubuntu 18.04, we could switch up to CMake 3.10 (see here).
Things we could change then:
In case you see more interesting changes, you add them here, so we can decide which is the new minimum required CMake version.
Another thing: How we want to deprecate CMake code, as we don't have fixed release cycles? End date or end version?:
message(DEPRECATION "Your CMake version is deprecated and it's supported will be dropped after April 2021.") => not sure which PCL version will remove this version, but we can be sure we support Ubuntu 16.04 until it's end.message(DEPRECATION "Your CMake version is deprecated and it's supported will be dropped with PCL 1.14.") => We can say with which PCL version it's end, but maybe it is before EOL of Ubuntu 16.04.I don't think we have this codified, but my idea was to always have the previous Ubuntu LTS release as the baseline environment. It is, therefore, time to lift our baseline to 18.04 and, _where needed_, update the minimum third-party dependency versions. I think you listed enough reasons to bump CMake dependency. I also think there is no reason to go for a version that is less than what is available in 18.04.
Regarding deprecation, I don't see a need for that, just update cmake_minimum_required() and that's it.
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.
How we want to deprecate CMake code
I'd go with the first option (EOL date of Ubuntu 16.04).
The bigger issue I see (because I don't know CMake) is how to add new capability and label old code so the transition is made easier.
Most helpful comment
I don't think we have this codified, but my idea was to always have the previous Ubuntu LTS release as the baseline environment. It is, therefore, time to lift our baseline to 18.04 and, _where needed_, update the minimum third-party dependency versions. I think you listed enough reasons to bump CMake dependency. I also think there is no reason to go for a version that is less than what is available in 18.04.
Regarding deprecation, I don't see a need for that, just update
cmake_minimum_required()and that's it.