Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Update minimum CMake version #270

Merged
merged 4 commits into from Jan 16, 2024
Merged

Update minimum CMake version #270

merged 4 commits into from Jan 16, 2024

Conversation

jordan4ibanez
Copy link
Contributor

@jordan4ibanez jordan4ibanez commented Jan 4, 2024

Cmake in engine currently very old.

Give it a few birthdays so we can use newer features.

We are missing the ability to add link libraries to object library targets. We'd like this for the glTF development.

@appgurueu
Copy link
Contributor

This depends on #272

@sfan5
Copy link
Member

sfan5 commented Jan 5, 2024

What for? Are we missing any features?

@JosiahWI
Copy link
Contributor

JosiahWI commented Jan 5, 2024

We are missing the ability to add link libraries to object library targets. We'd like this for the glTF development, and I'd like it for the Irrlicht CMakeLists as well to help clean it up.

@sfan5
Copy link
Member

sfan5 commented Jan 5, 2024

ok in that case:

  • Debian 10: 3.13 ✔️
  • RHEL 8 derivates: seems to differ but 3.18 is available ✔️
  • Ubuntu 20.04: 3.16 ✔️

verdict: we can do this

@jordan4ibanez
Copy link
Contributor Author

yay

CMakeLists.txt Outdated Show resolved Hide resolved
@sfan5 sfan5 added the WIP Work-in-Progress label Jan 8, 2024
@jordan4ibanez
Copy link
Contributor Author

Do we have to do anything else?

@sfan5
Copy link
Member

sfan5 commented Jan 15, 2024

#270 (comment):

This depends on #272

@sfan5 sfan5 removed the WIP Work-in-Progress label Jan 15, 2024
@sfan5 sfan5 merged commit edc678f into minetest:master Jan 16, 2024
14 checks passed
JosiahWI added a commit to JosiahWI/irrlicht that referenced this pull request Jan 20, 2024
The minimum CMake version was updated to 3.12 in minetest#270. This cleans up
the build using the feature to use target_link_libraries on object
library targets that was added in CMake 3.12.

It has been tested on Linux with OpenGL. I will test it with more
settings and on more systems as the work progresses.
JosiahWI added a commit to JosiahWI/irrlicht that referenced this pull request Jan 20, 2024
The minimum CMake version was updated to 3.12 in minetest#270. This cleans up
the build using the feature to use target_link_libraries on object
library targets that was added in CMake 3.12.

It has been tested on Linux with OpenGL. I will test it with more
settings and on more systems as the work progresses.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants