Skip to content

Change cmake required to v3.13#1417

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
ytnuf:cmake-fix
Apr 2, 2024
Merged

Change cmake required to v3.13#1417
dsnopek merged 1 commit into
godotengine:masterfrom
ytnuf:cmake-fix

Conversation

@ytnuf

@ytnuf ytnuf commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

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

@Calinou Calinou left a comment

Copy link
Copy Markdown
Member

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
@dsnopek

dsnopek commented Apr 2, 2024

Copy link
Copy Markdown
Collaborator

Thanks!

@dsnopek

dsnopek commented Apr 8, 2024

Copy link
Copy Markdown
Collaborator

Cherry-picked for 4.1 in PR #1411

@dsnopek

dsnopek commented Apr 8, 2024

Copy link
Copy Markdown
Collaborator

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