forked from Mirrorlandia_minetest/irrlicht
Hide OpenGL3 behind SDL2 (it won’t build otherwise anyway)
This commit is contained in:
parent
0b9ee5884f
commit
6a5fceb8fd
@ -148,7 +148,11 @@ endif()
|
|||||||
|
|
||||||
# OpenGL
|
# OpenGL
|
||||||
|
|
||||||
option(ENABLE_OPENGL3 "Enable OpenGL 3+" FALSE)
|
if(USE_SDL2)
|
||||||
|
option(ENABLE_OPENGL3 "Enable OpenGL 3+" FALSE)
|
||||||
|
else()
|
||||||
|
set(ENABLE_OPENGL3 FALSE)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(ANDROID OR EMSCRIPTEN)
|
if(ANDROID OR EMSCRIPTEN)
|
||||||
set(ENABLE_OPENGL FALSE)
|
set(ENABLE_OPENGL FALSE)
|
||||||
|
Loading…
Reference in New Issue
Block a user