Switch: Fix build

This commit is contained in:
Vicki Pfau 2020-11-09 00:49:37 -08:00
parent 4b4d5b59e5
commit 558cb2015e
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ if(DEFINED 3DS OR DEFINED PSP2 OR DEFINED WII OR DEFINED SWITCH)
endif()
if(DEFINED SWITCH)
set(BUILD_GLES2 OFF CACHE BOOL "Build with OpenGL|ES 2" FORCE)
set(BUILD_GLES3 ON CACHE BOOL "Build with OpenGL|ES 3" FORCE)
endif()