We are getting loads of this warning when building ooRexx at the moment:
CMake Deprecation Warning at CMakeLists.txt:48 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
It emanates from this piece in CMakeLists.txt:
message(STATUS "CMake version is ${CMAKE_VERSION}")
if (APPLE)
# apple builds with prior cmake version have an @rpath problem
cmake_minimum_required (VERSION 3.12)
else ()
# for other platforms
cmake_minimum_required (VERSION 2.8.12)
endif ()
# CMP0091 introduced in 3.15 must stay OLD for our /MD -> /MT hack to work
cmake_policy(VERSION 2.8...3.3)
I do not know who made the remark but it seems it would be safe to bump the
minimum requirement to 3.12 for ALL platforms now? If there are no objections I
could do this and avoid an error in the future.
FYI here is a listing of what we currently use, 3.16.3 is the lowest version of
CMake we use right now.
W7 [Version 6.1.7601] cmake version 3.20.3
W8.1 [Version 6.3.9600] cmake version 3.20.3
W10 [Version 10.0.19045.3570] cmake version 3.22.2
W10 [Version 10.0.19045.3570] cmake version 3.25.0-rc1 (Physical Machine
W11 [Version 10.0.22621.2428] cmake version 3.25.0-rc2
macOS 10 Catalina Darwin Kernel Version 19.6.0 cmake version 3.27.7
macOS 11 BigSur Darwin Kernel Version 20.3.0cmake version 3.27.7
macOS 12 Monterey Darwin Kernel Version 21.6.0 cmake version 3.27.7
macOS 13 Ventura - currently no VM
macOS 14 Sonoma Darwin Kernel Version 23.0.0cmake version 3.27.3
Debian 11 cmake version 3.18.4
Ubuntu 22.04.3 LTS cmake version 3.22.1
Linux Mint 21.1 cmake version 3.22.1
CentOS 9cmake version 3.20.2
Fedora 38 cmake version 3.27.6
OpenSuse 15.3 cmake version 3.17.0
FreeBSD 13.1cmake version 3.26.1
OpenBSD 7.2 cmake version 3.24.2
NetBSD 9.3 cmake version 3.26.4
OpenIndiana cmake version 3.27.4
Raspberrypi2B 6.1.21-v7+cmake version 3.25.0-rc4
Raspberrypi3Bplus 6.1.21-v8+cmake version 3.25.0-rc4
Jenkins Controller (Ubuntu) cmake version 3.16.3
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel