Change GL include in scons check so it actually works under mingw
(cherry-picked from commit f53237b20f
)
This commit is contained in:
parent
69c978cb9e
commit
2dbb8e48ee
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def CheckOpenGL(context):
|
|||
|
||||
if env["PLATFORM"] == "win32":
|
||||
env.AppendUnique(LIBS = ["opengl32"])
|
||||
test_program += "#include <GL/opengl32.h>\n"
|
||||
test_program += "#include <windows.h>\n#include <GL/gl.h>\n"
|
||||
elif env["PLATFORM"] == "darwin":
|
||||
env.AppendUnique(FRAMEWORKS = "OpenGL")
|
||||
test_program += "#include <OpenGL/gl.h>\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue