1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00

cmake: Set OpenGL_GL_PREFERENCE

Silences a cmake warning for Policy CMP0072 with cmake-3.21.4.
This commit is contained in:
orbea 2021-11-28 13:54:10 -08:00 committed by Sergey Lipskiy
parent ea98e44d7f
commit 6b8b53f633

View File

@ -152,6 +152,8 @@ set(GLideNUI_SOURCES
GLideNUI/icon.qrc
)
set(OpenGL_GL_PREFERENCE GLVND)
if(MUPENPLUSAPI_GLIDENUI OR NOT MUPENPLUSAPI)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)