Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
CMake 3.27.4 reports the following warnings on at least 11.3 and probably on all older versions as well:
CMake Deprecation Warning at CMakeLists.txt:17 (CMAKE_MINIMUM_REQUIRED):
|
Compatibility with CMake < 3.5 will be removed from a future version of
|
CMake.
|
|
Update the VERSION argument <min> value or use a ...<max> suffix to tell
|
CMake that the project does not need compatibility with older versions.
|
|
|
CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
|
Policy CMP0048 is not set: project() command manages VERSION variables.
|
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
|
command to set the policy and suppress this warning.
|
|
The following variable(s) would be set to empty:
|
|
CMAKE_PROJECT_VERSION
|
CMAKE_PROJECT_VERSION_MAJOR
|
CMAKE_PROJECT_VERSION_MINOR
|
CMAKE_PROJECT_VERSION_PATCH
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
The same deprecation warning is reported for the wsrep and mroonga libraries.
Attachments
Issue Links
- relates to
-
MDBF-930 x86-kvm-ubuntu-1604-bintar needs newer cmake
-
- Closed
-
-
MDEV-36506 Build fails with cmake 4.0
-
- Stalled
-
-
MDEV-31203 wsrep CMake Deprecation Warning
-
- Open
-
-
MDEV-31204 Mroonga CMake Deprecation Warning
-
- Open
-
Nothing we can do about it now. CentOS 7 is not EOL yet and it has cmake 2.8.12.2 it its repositories.
It reaches EOL on June 30, 2024.