summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenGL.cmake
blob: 2259c992935ff42dbbf46eb4105467a7ec7584d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- cmake -*-

include(Variables)
include(Prebuilt)

if (BUILD_HEADLESS)
  SET(OPENGL_glu_LIBRARY GLU)
  SET(OPENGL_HEADLESS_LIBRARIES OSMesa16 dl GLU)
endif (BUILD_HEADLESS)

include(FindOpenGL)