mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
cmake: Set OpenGL_GL_PREFERENCE
Silences a cmake warning for Policy CMP0072 with cmake-3.21.4.
This commit is contained in:
parent
ea98e44d7f
commit
6b8b53f633
|
@ -152,6 +152,8 @@ set(GLideNUI_SOURCES
|
||||||
GLideNUI/icon.qrc
|
GLideNUI/icon.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(OpenGL_GL_PREFERENCE GLVND)
|
||||||
|
|
||||||
if(MUPENPLUSAPI_GLIDENUI OR NOT MUPENPLUSAPI)
|
if(MUPENPLUSAPI_GLIDENUI OR NOT MUPENPLUSAPI)
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_AUTORCC ON)
|
set(CMAKE_AUTORCC ON)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user