Skip to content

Commit e220775

Browse files
authored
Fix conditional in cabal file (#12)
The if conditionals were incorrectly nested, which caused a problem with OpenGL on Windows.
1 parent 2fbe257 commit e220775

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dear-imgui.cabal

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ library
5656
if os(windows)
5757
extra-libraries:
5858
opengl32
59-
if os(darwin)
60-
frameworks: OpenGL
6159
else
62-
extra-libraries:
63-
GL
60+
if os(darwin)
61+
frameworks:
62+
OpenGL
63+
else
64+
extra-libraries:
65+
GL
6466

6567
if flag(sdl)
6668
exposed-modules:

0 commit comments

Comments
 (0)