Fix for macosx

This commit is contained in:
Joey Yakimowich-Payne 2020-09-13 20:12:26 -06:00
commit fec0c144ff

View file

@ -61,6 +61,9 @@ const inclDir = srcDir / "include" / "GLFW"
cIncludeDir(inclDir) cIncludeDir(inclDir)
cPluginPath(symbolPluginPath) cPluginPath(symbolPluginPath)
when defined(macosx):
{.passL: "-m64 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -framework Carbon -framework CoreAudio -lm -pthread".}
else:
{.passL: "-pthread".} {.passL: "-pthread".}
when isDefined(glfw3Static): when isDefined(glfw3Static):