CMake -E rm Requires 3.17
The cmake -E rm
cli command used by the new documentation targets require CMake 3.17 since only there this command was introduced and the old remove
and remove_directory
were deprecated.
I'm not sure if bumping the min. req. version wouldn't be a bit harsh since e.g.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
It's not the brand-new LTS from 2 months ago but still recent enough to be widely used I guess.
Could we add some magic to make this compatible with CMake < 3.17?