Skip to content

Commit 76f9a31

Browse files
authored
Fixes to make Darwin work (#7)
`extra-libraries: sdl2` needs to be `extra-libraries: SDL2`, and we need a dependency on `OpenGL`.
1 parent f632e99 commit 76f9a31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dear-imgui.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ library
5656
if os(windows)
5757
extra-libraries:
5858
opengl32
59+
if os(darwin)
60+
frameworks: OpenGL
5961
else
6062
extra-libraries:
6163
GL
@@ -70,7 +72,7 @@ library
7072

7173
if os(windows) || os(darwin)
7274
extra-libraries:
73-
sdl2
75+
SDL2
7476
else
7577
pkgconfig-depends:
7678
sdl2

0 commit comments

Comments
 (0)