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

Support building on ZorinOS with SDL2 from apt #22

Closed
JosiahWI opened this issue Jan 12, 2023 · 0 comments
Closed

Support building on ZorinOS with SDL2 from apt #22

JosiahWI opened this issue Jan 12, 2023 · 0 comments

Comments

@JosiahWI
Copy link

Problem

My current setup for Minetest development is on ZorinOS. It provides development files for SDL 2.0.10 as libsdl2-dev from the Ubuntu repositories, but that package does not include SDL2's CMake target exports, so it can't be used to build your Minetest fork.

Solutions

I'd like to add support to the build for SDL2 packages with no CMake target exports.

Alternatives

We could have CMake fetch SDL2 automatically from git and configure it, or we could add SDL2 as a submodule. I don't like these solutions because SDL2 is a large download, and the shared system library runs perfectly fine in projects that support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant