Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
cmake-4.0.2
Description
This is encountered when building mariadb-10.11.12.
CMake Error at storage/columnstore/columnstore/CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
|
Compatibility with CMake < 3.5 has been removed from CMake.
|
|
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
|
to tell CMake that the project requires at least <min> but has been updated
|
to work with policies introduced by <max> or earlier.
|
|
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
-- Configuring incomplete, errors occurred!
|
The following allowed it to configure and build:
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
index b8179df..34b7e45 100644
|
--- a/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
@@ -1,5 +1,5 @@
|
|
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
|
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.5.0)
|
|
PROJECT(Columnstore)
|