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

Policy CMP0048 is not set warning during cmake

    XMLWordPrintable

Details

    Description

      Build warning, likely present in all 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.
       
      -- Running cmake version 3.16.3
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.