mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-03 00:30:26 +02:00
Fix OpenGL3 driver to compile standalone
also test this configuration in CI
This commit is contained in:
@ -260,7 +260,7 @@ endif()
|
||||
if(ENABLE_GLES2)
|
||||
find_package(OpenGLES2 REQUIRED)
|
||||
endif()
|
||||
if(ENABLE_OPENGL)
|
||||
if(ENABLE_OPENGL OR ENABLE_OPENGL3)
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
find_package(OpenGL REQUIRED)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user