Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6004

Columnstore does not configure when using cmake 4.0.2+

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Build
    • 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)
      

      Attachments

        Activity

          People

            leonid.fedorov Leonid Fedorov
            debohman David Bohman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.