### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.2 Documentation »
- cmake-modules(7) »

# FindGLUT

try to find glut library and include files.

## IMPORTED Targets

This module defines the `IMPORTED` targets:

`GLUT::GLUT`
  Defined if the system has GLUT.

## Result Variables

This module sets the following variables:

    GLUT_INCLUDE_DIR, where to find GL/glut.h, etc.
    GLUT_LIBRARIES, the libraries to link against
    GLUT_FOUND, If false, do not try to use GLUT.

Also defined, but not for general use are:

    GLUT_glut_LIBRARY = the full path to the glut library.
    GLUT_Xmu_LIBRARY  = the full path to the Xmu library.
    GLUT_Xi_LIBRARY   = the full path to the Xi Library.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.2 Documentation »
- cmake-modules(7) »