mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
cmake: use vendor-neutral GL implementation when available; fallback to legacy GL
This commit is contained in:
parent
87723abdeb
commit
a3e17807a7
1 changed files with 1 additions and 1 deletions
|
@ -1954,7 +1954,7 @@ if(WIN32)
|
|||
set(GlslangLibs ${GlslangLibs} spirv-cross-hlsl)
|
||||
endif()
|
||||
|
||||
if(OpenGL_OpenGL_FOUND AND NOT APPLE)
|
||||
if(OPENGL_opengl_LIBRARY AND OpenGL_GL_PREFERENCE STREQUAL GLVND AND NOT APPLE)
|
||||
set(OPENGL_LIBRARIES OpenGL::OpenGL)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue