diff --git a/premake4.lua b/premake4.lua index 0f86168..53411b2 100644 --- a/premake4.lua +++ b/premake4.lua @@ -152,6 +152,7 @@ solution "nanovg" configuration { "linux" } linkoptions { "`pkg-config --libs glfw3`" } links { "GL", "GLU", "m", "GLEW" } + defines { "NANOVG_GLEW" } configuration { "windows" } links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32", "kernel32" } @@ -180,6 +181,7 @@ solution "nanovg" configuration { "linux" } linkoptions { "`pkg-config --libs glfw3`" } links { "GL", "GLU", "m", "GLEW" } + defines { "NANOVG_GLEW" } configuration { "windows" } links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32", "kernel32" } @@ -208,6 +210,7 @@ solution "nanovg" configuration { "linux" } linkoptions { "`pkg-config --libs glfw3`" } links { "GL", "GLU", "m", "GLEW" } + defines { "NANOVG_GLEW" } configuration { "windows" } links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32", "kernel32" }