Fix the glfw example build condition (#159)

The example needs the opengl2 flag.
This commit is contained in:
Tristan de Cacqueray 2022-11-22 19:13:18 +00:00 committed by GitHub
parent 051a17a1c5
commit a2feb73fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ executable glfw
main-is: Main.hs
hs-source-dirs: examples/glfw
default-language: Haskell2010
if (!flag(examples) || !flag(glfw) || !flag(opengl3))
if (!flag(examples) || !flag(glfw) || !flag(opengl2))
buildable: False
else
build-depends: base, GLFW-b, gl, dear-imgui, managed, text