mirror of https://github.com/PCSX2/pcsx2.git
Take care of a cmake 3.11 deprecation warning when finding OpenGL.
This commit is contained in:
parent
0ff7ea3ccc
commit
a97bc2309a
|
@ -13,6 +13,10 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
|||
find_package(Git)
|
||||
endif()
|
||||
find_package(LibLZMA)
|
||||
|
||||
# Using find_package OpenGL without either setting your opengl preference to GLVND or LEGACY
|
||||
# is deprecated as of cmake 3.11.
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL)
|
||||
find_package(PNG)
|
||||
find_package(Vtune)
|
||||
|
|
Loading…
Reference in New Issue