2 # Try to find GLUT, once done this will define:
4 # GLUT_INCLUDE_PATH = where the GLUT include directory can be found
5 # GLUT_LIBRARY = the name of the GLUT library to link with
10 FIND_LIBRARY(GLUT_LIBRARY glut32
11 ${OPENGL_LIBRARY_PATH}
18 FIND_LIBRARY(GLUT_LIBRARY glut32
19 ${OPENGL_LIBRARY_PATH}
24 SET(GLUT_LIBRARY "-framework Glut" CACHE STRING "GLUT library for OSX")
26 FIND_PATH(GLUT_INCLUDE_PATH GL/glut.h
27 ${OPENGL_INCLUDE_PATH}
31 /usr/openwin/share/include
32 /opt/graphics/OpenGL/include
39 FIND_LIBRARY(GLUT_LIBRARY glut
40 ${OPENGL_LIBRARY_PATH}
43 /opt/graphics/OpenGL/lib