Prefer GLVND for OpenGL rather than legacy

This commit is contained in:
Zion Nimchuk 2018-05-17 10:39:40 -07:00 committed by Ani
parent 09c8162235
commit 67a6db8325

View File

@ -185,6 +185,8 @@ endif()
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(OpenAL REQUIRED)
if(NOT WITHOUT_LLVM)