mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Remove libopengl.so.0 hack, and use LEGACY CMake OpenGL option for AppImage builds (#10234)
This commit is contained in:
parent
f56ecb6d3f
commit
a043e95d24
3 changed files with 5 additions and 3 deletions
6
3rdparty/CMakeLists.txt
vendored
6
3rdparty/CMakeLists.txt
vendored
|
@ -146,8 +146,10 @@ target_include_directories(3rdparty_cereal INTERFACE cereal/include)
|
|||
|
||||
# OpenGL
|
||||
|
||||
# Prefer GLVND for OpenGL rather than legacy
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
# Prefer GLVND for OpenGL rather than legacy, unless it's been defined elsewhere, in the case of AppImage builds
|
||||
if(NOT DEFINED OpenGL_GL_PREFERENCE)
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
endif()
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
||||
add_library(3rdparty_opengl INTERFACE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue