Fixes to make Darwin work (#7)

`extra-libraries: sdl2` needs to be `extra-libraries: SDL2`, and we need a dependency on `OpenGL`.
This commit is contained in:
Tim Pierson 2021-01-25 16:42:31 +00:00 committed by GitHub
parent f632e99500
commit 76f9a316b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,8 @@ library
if os(windows)
extra-libraries:
opengl32
if os(darwin)
frameworks: OpenGL
else
extra-libraries:
GL
@ -70,7 +72,7 @@ library
if os(windows) || os(darwin)
extra-libraries:
sdl2
SDL2
else
pkgconfig-depends:
sdl2