mirror of
				https://github.com/Drezil/dear-imgui.hs.git
				synced 2025-11-03 22:51:07 +01:00 
			
		
		
		
	Link against system-cxx-std-lib for GHC 9.4+ (#197)
* Link against system-cxx-std-lib for GHC 9.4+ * Drop OS checks for linking with stdc++ when GHC < 9.4
This commit is contained in:
		@@ -179,8 +179,10 @@ library
 | 
			
		||||
    imgui/imgui_draw.cpp
 | 
			
		||||
    imgui/imgui_tables.cpp
 | 
			
		||||
    imgui/imgui_widgets.cpp
 | 
			
		||||
  extra-libraries:
 | 
			
		||||
    stdc++
 | 
			
		||||
  if impl(ghc >= 9.4)
 | 
			
		||||
    build-depends: system-cxx-std-lib
 | 
			
		||||
  else
 | 
			
		||||
    extra-libraries: stdc++
 | 
			
		||||
  include-dirs:
 | 
			
		||||
    imgui
 | 
			
		||||
  build-depends:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user