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:
sheaf
2021-01-26 12:01:41 +01:00
committed by GitHub
parent 2fbe257c24
commit e220775b21

View File

@ -56,11 +56,13 @@ library
if os(windows)
extra-libraries:
opengl32
if os(darwin)
frameworks: OpenGL
else
extra-libraries:
GL
if os(darwin)
frameworks:
OpenGL
else
extra-libraries:
GL
if flag(sdl)
exposed-modules: