fix OpenGL detection on Linux, and re-add TTF project to premake
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
function findOpenGL()
|
||||
configuration{}
|
||||
if os.is("Linux") then
|
||||
if os.isdir("/usr/include") and os.isfile("/usr/include/GL/gl.h") then return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
--assume OpenGL is available on Mac OSX, Windows etc
|
||||
|
||||
Reference in New Issue
Block a user