mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 16:57:00 +00:00
Fix conditional in cabal file (#12)
The if conditionals were incorrectly nested, which caused a problem with OpenGL on Windows.
This commit is contained in:
parent
2fbe257c24
commit
e220775b21
@ -56,11 +56,13 @@ library
|
|||||||
if os(windows)
|
if os(windows)
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
opengl32
|
opengl32
|
||||||
if os(darwin)
|
|
||||||
frameworks: OpenGL
|
|
||||||
else
|
else
|
||||||
extra-libraries:
|
if os(darwin)
|
||||||
GL
|
frameworks:
|
||||||
|
OpenGL
|
||||||
|
else
|
||||||
|
extra-libraries:
|
||||||
|
GL
|
||||||
|
|
||||||
if flag(sdl)
|
if flag(sdl)
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
|
Loading…
Reference in New Issue
Block a user