mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-21 08:36:59 +00: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:
parent
f6cad45dab
commit
b48ef7904b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user