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

SDL2main is not present on some linux distros #131

Closed
Vagabond opened this issue Jan 22, 2014 · 2 comments
Closed

SDL2main is not present on some linux distros #131

Vagabond opened this issue Jan 22, 2014 · 2 comments
Milestone

Comments

@Vagabond
Copy link
Member

At least on arch linux, SDL2 package does not include SDL2main, so the cmake process fails.

Do we only need to link against it under windows?

@katajakasa
Copy link
Member

Windows requires this to bridge main to winmain. Added a check to FindSDL2 to only use SDLmain on windows.

@katajakasa
Copy link
Member

Changes done in 64a8018

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

2 participants