mirror of
				https://github.com/Drezil/dear-imgui.hs.git
				synced 2025-11-04 07:01:06 +01:00 
			
		
		
		
	Fix the glfw example build condition (#159)
The example needs the opengl2 flag.
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							051a17a1c5
						
					
				
				
					commit
					a2feb73fa5
				
			@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user