diff --git a/dear-imgui.cabal b/dear-imgui.cabal index 963693e..1db7fe6 100644 --- a/dear-imgui.cabal +++ b/dear-imgui.cabal @@ -185,6 +185,10 @@ library , vector , text + if os(darwin) + ghc-options: + -optcxx-std=c++11 + if flag(disable-obsolete) cxx-options: -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS