mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #6792 from degasus/master
CMake: Prefer GLVND for OpenGL.
This commit is contained in:
commit
e2deb157b3
1 changed files with 1 additions and 0 deletions
|
@ -410,6 +410,7 @@ endif()
|
|||
include(CheckLib)
|
||||
include(CheckCXXSourceRuns)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL)
|
||||
if (OPENGL_GL)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
|
|
Loading…
Add table
Reference in a new issue