mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
If we are using OpenGL ES 3, then don't check for OpenGL/GLU
This commit is contained in:
parent
7ff429152d
commit
c21003feab
1 changed files with 6 additions and 4 deletions
|
@ -350,10 +350,12 @@ endif()
|
|||
|
||||
if(NOT ANDROID)
|
||||
|
||||
include(FindOpenGL)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
if(NOT OPENGL_GLU_FOUND)
|
||||
message(FATAL_ERROR "GLU is required but not found")
|
||||
if(NOT USE_GLES3)
|
||||
include(FindOpenGL)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
if(NOT OPENGL_GLU_FOUND)
|
||||
message(FATAL_ERROR "GLU is required but not found")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(FindALSA OPTIONAL)
|
||||
|
|
Loading…
Add table
Reference in a new issue