mirror of
				https://github.com/Drezil/dear-imgui.hs.git
				synced 2025-11-04 07:01:06 +01:00 
			
		
		
		
	Fixes to make Darwin work (#7)
`extra-libraries: sdl2` needs to be `extra-libraries: SDL2`, and we need a dependency on `OpenGL`.
This commit is contained in:
		@@ -56,6 +56,8 @@ library
 | 
			
		||||
    if os(windows)
 | 
			
		||||
      extra-libraries:
 | 
			
		||||
        opengl32
 | 
			
		||||
    if os(darwin)
 | 
			
		||||
      frameworks: OpenGL
 | 
			
		||||
    else
 | 
			
		||||
      extra-libraries:
 | 
			
		||||
        GL
 | 
			
		||||
@@ -70,7 +72,7 @@ library
 | 
			
		||||
 | 
			
		||||
    if os(windows) || os(darwin)
 | 
			
		||||
      extra-libraries:
 | 
			
		||||
        sdl2
 | 
			
		||||
        SDL2
 | 
			
		||||
    else
 | 
			
		||||
      pkgconfig-depends:
 | 
			
		||||
        sdl2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user