Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3944

Fix CMake warning

    XMLWordPrintableJSON

Details

    Description

      Currently cmake_minimum_version is set to 3.1. This triggers the warning at least with cmake 3.27.9:

       

      CMake Deprecation Warning at CMakeLists.txt:19 (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.
       

       

      Updating cmake_minimum_version to 3.5 should be safe since 3.5.0 was released in 2016, and is available on all supported distros according to https://pkgs.org/search/?q=cmake&on=name .

      Attachments

        Issue Links

          Activity

            People

              mkmkme Mikhail Koviazin
              mkmkme Mikhail Koviazin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m