Skip to content

build: update cmake_minimum_required to 3.10#641

Closed
mhx wants to merge 1 commit into
facebook:mainfrom
mhx:mhx/update-cmake-minimum-required
Closed

build: update cmake_minimum_required to 3.10#641
mhx wants to merge 1 commit into
facebook:mainfrom
mhx:mhx/update-cmake-minimum-required

Conversation

@mhx

@mhx mhx commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

Compatibility with versions older than 3.5 has been deprecated since cmake 3.27 and has now been removed with cmake 4.0. Compatibility with versions before 3.10 has been deprecated since cmake 3.31.

This changes the requirement to 3.10 to allow this project to still be built with cmake 4.0 without any deprecation warning.

Compatibility with versions older than 3.5 has been deprecated since
cmake 3.27 and has now been removed with cmake 4.0. Compatibility with
versions before 3.10 has been deprecated since cmake 3.31.

This changes the requirement to 3.10 to allow this project to still be
built with cmake 4.0 without any deprecation warning.

@createdbysk createdbysk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verified statements in the description against https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html.

@mhx Thank you for your contribution and support.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@createdbysk has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@createdbysk merged this pull request in 89808e8.

facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Mar 18, 2025
Summary:
Compatibility with versions older than 3.5 has been deprecated since cmake 3.27 and has now been removed with cmake 4.0. Compatibility with versions before 3.10 has been deprecated since cmake 3.31.

This changes the requirement to 3.10 to allow this project to still be built with cmake 4.0 without any deprecation warning.

X-link: facebook/fbthrift#641

Reviewed By: vitaut

Differential Revision: D71233832

Pulled By: createdbysk

fbshipit-source-id: 7de583b187ac561d4f24b30aacd268400de581fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants