1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-05 06:25:48 +01:00

Set OpenGL_GL_PREFERENCE to LEGACY to silence warnings on cmake 3.11+

This commit is contained in:
Amish Naidu 2018-10-04 12:12:09 +05:30 committed by John Maguire
parent 5156422a6b
commit 58108dd0d0

View File

@ -49,6 +49,7 @@ if(APPLE)
endif(NOT QT_MAC_USE_COCOA)
endif(APPLE)
set(OpenGL_GL_PREFERENCE LEGACY)
find_package(OpenGL REQUIRED)
find_package(Boost REQUIRED)
find_package(Gettext REQUIRED)