Find OpenGL Utility Toolkit (GLUT) library and include files.
New in version 3.1.
This module defines the
Defined if the system has GLUT.
This module defines the following variables:
New in version 3.23.
Where to find GL/glut.h, etc.
List of libraries for using
This module may set the following variables depending on platform. These variables may optionally be set to help this module find the correct files, but clients should not use these as results:
The full path to the directory containing
GL/glut.h, not including
The full path to the glut library.
The full path to the Xmu library.
The full path to the Xi Library.
The following variables may also be provided, for backwards compatibility:
This is one of above Cache Variables, but prior to CMake 3.23 was also a result variable. Prefer to use
GLUT_INCLUDE_DIRSinstead in CMake 3.23 and above.