Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-837

cmake 4.4 deprecation warning for the CMAKE_MINIMUM_REQUIRED() version

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • 3.4
    • 3.4
    • Build
    • None

    Description

      When compiling with cmake 4.4 I get the following warning:

      [cmake] == Configuring MariaDB Connector/C
      [cmake] CMake Warning (deprecated) at libmariadb/CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
      [cmake]   Compatibility with CMake < 3.10 will be removed from a future version of
      [cmake]   CMake.
      [cmake] 
      [cmake]   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
      [cmake]   to tell CMake that the project requires at least <min> but has been updated
      [cmake]   to work with policies introduced by <max> or earlier.
      [cmake] This warning is for project developers.  Use -Wno-author or -Wno-deprecated
      [cmake] to suppress it.
      [cmake] 
      

      Please upgrade to at least 3.5 in the following CMakeLists.txt line:

      CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1 FATAL_ERROR)
      

      Attachments

        Activity

          People

            georg Georg Richter
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.