fix Linux build (only OpenCL/gwen tested)

This commit is contained in:
erwincoumans
2013-05-20 16:53:43 -07:00
parent 4877a2af8a
commit 453952f202
7 changed files with 29 additions and 5 deletions

View File

@@ -42,7 +42,13 @@
files { projectRootDir .. "btgui/OpenGLWindow/GlewWindows/glew.c"}
end
if os.is("Linux") then
links{"GLEW"}
--links{"GLEW"}
defines { "GLEW_STATIC"}
includedirs {
projectRootDir .. "btgui/OpenGLWindow/GlewWindows"
}
files { projectRootDir .. "btgui/OpenGLWindow/GlewWindows/glew.c"}
end
configuration{}
end