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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,10 @@ library
if os(windows)
extra-libraries:
opengl32
else
if os(darwin)
frameworks: OpenGL
frameworks:
OpenGL
else
extra-libraries:
GL