-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fallback Makefile #17
Comments
I went ahead and make this a pinned issue, so it maintains good visibility. If the CMake file is well and truly busted though, it would be good if you / someone else could send in a PR fixing it. |
Thank you!
The only problem with the current CMake file is that it cannot find SDL2, all other dependencies are accounted for (huge thanks for that btw). After some searching I found this page on the official SDL wiki, in a nutshell:
I updated the CMake file to reflect this information with some very minor cleanups, feel free to give it a try on your machine and report back... That being said, I still recommend keeping a fallback Makefile in case CMake breaks anything in the future. Note: it might be a good idea to add a user option for manually selecting the static or shared SDL2 library. |
As you might be able to tell by the lack of commit history, this project is very much in deep maintenance mode on my end. If you're confident in your changes, feel free to send in a PR with the changes, and I'll go ahead and merge it in. |
ANESE doesn't compile on my linux machine with CMake, but the project structure is simple enough that a single Makefile would do... So I wrote a Makefile for ANESE that can be used on linux/unix as fallback for the CMake file. It uses
pkg-config
(oru-config
) to automatically fetch the SDL2 compilation flags. Hopefully it is useful to you and others.Unix.mk
The text was updated successfully, but these errors were encountered: