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

Change cmake required to v3.13 #1417

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

ytnuf
Copy link
Contributor

@ytnuf ytnuf commented Mar 21, 2024

This is because target_link_options was added in v3.13 So this wouldn't build with cmake v3.12

https://cmake.org/cmake/help/latest/release/3.13.html#commands

Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with cmake v3.9
So the test wouldn't build properly with cmake v3.6

@ytnuf ytnuf requested a review from a team as a code owner March 21, 2024 21:23
@AThousandShips AThousandShips added enhancement This is an enhancement on the current functionality discussion topic:buildsystem Related to the buildsystem or CI setup labels Mar 22, 2024
@ytnuf ytnuf marked this pull request as draft March 22, 2024 12:59
This is because target_link_options was added in v3.13
So this wouldn't build with cmake v3.12

Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with
cmake v3.9
So the test wouldn't build properly with cmake v3.6
@ytnuf ytnuf marked this pull request as ready for review March 22, 2024 13:56
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Ubuntu 20.04 has CMake 3.16, so this shouldn't affect the ability to build extensions on the oldest still-supported Ubuntu LTS as of writing.

@dsnopek dsnopek merged commit 7d4a24c into godotengine:master Apr 2, 2024
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Apr 2, 2024

Thanks!

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.1 in PR #1411

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.2 in PR #1410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement This is an enhancement on the current functionality topic:buildsystem Related to the buildsystem or CI setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants