mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2025-08-22 11:53:14 +02: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:
@ -56,8 +56,10 @@ library
|
|||||||
if os(windows)
|
if os(windows)
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
opengl32
|
opengl32
|
||||||
|
else
|
||||||
if os(darwin)
|
if os(darwin)
|
||||||
frameworks: OpenGL
|
frameworks:
|
||||||
|
OpenGL
|
||||||
else
|
else
|
||||||
extra-libraries:
|
extra-libraries:
|
||||||
GL
|
GL
|
||||||
|
Reference in New Issue
Block a user