fontstash icon indicating copy to clipboard operation
fontstash copied to clipboard

glfw linker option needed on Linux

Open carld opened this issue 10 years ago • 0 comments

Hi, on my Arch Linux system I had to add glfw to the linker options.

Thanks

diff --git a/premake4.lua b/premake4.lua
index b52cfcc..354e52f 100644
--- a/premake4.lua
+++ b/premake4.lua
@@ -14,7 +14,7 @@ solution "fontstash"
                targetdir("build")

                configuration { "linux" }
-                        links { "X11","Xrandr", "rt", "GL", "GLU", "pthread" }
+                        links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "glfw" }

                configuration { "windows" }
                        defines { "_CRT_SECURE_NO_WARNINGS" }
@@ -40,7 +40,7 @@ solution "fontstash"
                targetdir("build")

                configuration { "linux" }
-                        links { "X11","Xrandr", "rt", "GL", "GLU", "pthread" }
+                        links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "glfw" }

                configuration { "windows" }
                        defines { "_CRT_SECURE_NO_WARNINGS" }

carld avatar Mar 17 '16 08:03 carld