mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Prefer GLVND for OpenGL rather than legacy
This commit is contained in:
parent
09c8162235
commit
67a6db8325
1 changed files with 2 additions and 0 deletions
|
@ -185,6 +185,8 @@ endif()
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH "${RPCS3_SRC_DIR}/cmake_modules")
|
set(CMAKE_MODULE_PATH "${RPCS3_SRC_DIR}/cmake_modules")
|
||||||
|
|
||||||
|
# Prefer GLVND for OpenGL rather than legacy
|
||||||
|
set(OpenGL_GL_PREFERENCE GLVND)
|
||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
if(NOT WITHOUT_LLVM)
|
if(NOT WITHOUT_LLVM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue