mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 16:57:00 +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)
|
if os(windows)
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
opengl32
|
opengl32
|
||||||
|
if os(darwin)
|
||||||
|
frameworks: OpenGL
|
||||||
else
|
else
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
GL
|
GL
|
||||||
@ -70,7 +72,7 @@ library
|
|||||||
|
|
||||||
if os(windows) || os(darwin)
|
if os(windows) || os(darwin)
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
sdl2
|
SDL2
|
||||||
else
|
else
|
||||||
pkgconfig-depends:
|
pkgconfig-depends:
|
||||||
sdl2
|
sdl2
|
||||||
|
Loading…
Reference in New Issue
Block a user