mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 09:02:30 +00:00
Change GL include in scons check so it actually works under mingw
(cherry-picked from commit f53237b20f09eba6701a90f7b5be81515317fc0d)
This commit is contained in:
parent
69c978cb9e
commit
2dbb8e48ee
@ -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…
x
Reference in New Issue
Block a user