1 2 3 4 5 6 7 8 9 10 11 12 13
# -*- cmake -*- include(Variables) include(Prebuilt) if (BUILD_HEADLESS) use_prebuilt_binary(mesa) SET(OPENGL_glu_LIBRARY GLU) SET(OPENGL_HEADLESS_LIBRARIES OSMesa16 dl GLU) endif (BUILD_HEADLESS) include(FindOpenGL)