use glad instead of glew in mac build and pybullet setup.py

This commit is contained in:
Erwin Coumans
2018-02-20 20:09:12 -08:00
parent b0984de046
commit dacafda88a
3 changed files with 20 additions and 5 deletions

View File

@@ -54,6 +54,13 @@
}
files { projectRootDir .. "examples/ThirdPartyLibs/glad/glad.c"}
end
if os.is("MacOSX") then
includedirs {
projectRootDir .. "examples/ThirdPartyLibs/glad"
}
files { projectRootDir .. "examples/ThirdPartyLibs/glad/glad.c"}
end
if os.is("Linux") then
configuration{"Linux"}
print("Using glad and dynamic loading of glx functions")