Silence Cmake 3.11+ OpenGl warning.
parent
c4e7fd6711
commit
aa87f75ece
|
|
@ -3,6 +3,10 @@
|
|||
include(Variables)
|
||||
include(Prebuilt)
|
||||
|
||||
# <FS:TS> Shut cmake up about OpenGL library preference. This can
|
||||
# be either LEGACY or GLVND.
|
||||
SET(OpenGL_GL_PREFERENCE LEGACY)
|
||||
|
||||
if (BUILD_HEADLESS)
|
||||
SET(OPENGL_glu_LIBRARY GLU)
|
||||
SET(OPENGL_HEADLESS_LIBRARIES OSMesa16 dl GLU)
|
||||
|
|
|
|||
Loading…
Reference in New Issue