mirror of
				https://github.com/Drezil/dear-imgui.hs.git
				synced 2025-11-04 07:01:06 +01: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,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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user