mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 08:56:59 +00:00
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:
parent
f632e99500
commit
76f9a316b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user