mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Merge pull request #14677 from SeanMcG/glvnd_detection
cmake: use vendor-neutral GL implementation when available
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user