Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRO-3958: [C] Update min cmake version to 3.5 #2796

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

SahilKang
Copy link
Contributor

What is the purpose of the change

We don't use older cmake features and this removes the following warning:

  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.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

No new features are added

We don't use older cmake features and this removes the following warning:

  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.

Signed-off-by: Sahil Kang <[email protected]>
Signed-off-by: Sahil Kang <[email protected]>
@github-actions github-actions bot added the C label Mar 10, 2024
Copy link
Contributor

@mkmkme mkmkme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is trivial and effectively the same as #2757. I should've probably taken a look at C as well when I made those changes :)
Thanks!

@martin-g martin-g merged commit 8fed1db into apache:main Mar 11, 2024
5 checks passed
@martin-g
Copy link
Member

Thank you, @SahilKang !

@SahilKang SahilKang deleted the c-cmake branch April 20, 2024 05:50
RanbirK pushed a commit to RanbirK/avro that referenced this pull request May 13, 2024
We don't use older cmake features and this removes the following warning:

  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.

Signed-off-by: Sahil Kang <[email protected]>
Signed-off-by: Sahil Kang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants