Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32131

CMake <3.5 deprecation warnings

    XMLWordPrintable

Details

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

          Activity

            People

              Unassigned Unassigned
              markus makela markus makela
              Votes:
              1 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.