Permalink
Browse files

Update windows build settings as discussed in issue #24

  • Loading branch information...
1 parent 677c856 commit 9d51cb68180008c299ce98ba2ea4e0a47762f750 @memononen committed Feb 19, 2014
Showing with 12 additions and 6 deletions.
  1. +12 −6 premake4.lua
View
@@ -26,7 +26,8 @@ solution "nanovg"
defines { "NANOVG_GLEW" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }
@@ -53,7 +54,8 @@ solution "nanovg"
defines { "NANOVG_GLEW" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }
@@ -81,7 +83,8 @@ solution "nanovg"
defines { "NANOVG_GLEW" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }
@@ -109,7 +112,8 @@ solution "nanovg"
defines { "NANOVG_GLEW" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }
@@ -135,7 +139,8 @@ solution "nanovg"
links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "m", "glfw3" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }
@@ -161,7 +166,8 @@ solution "nanovg"
links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "m", "glfw3" }
configuration { "windows" }
- links { "glu32","opengl32", "gdi32", "winmm", "user32" }
+ links { "glu32","opengl32", "gdi32", "winmm", "user32", "glfw3", "GLEW" }
+ defines { "NANOVG_GLEW" }
configuration { "macosx" }
links { "glfw3" }

0 comments on commit 9d51cb6

Please sign in to comment.