FindGLUT puts NOTFOUND in GLUT_LIBRARIES
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
FindGLUT puts GLUT_Xmu_LIBRARY-NOTFOUND;GLUT_Xi_LIBRARY-NOTFOUND
in the variable GLUT_LIBRARIES
, when GLUT_FOUND
is TRUE
.
This causes CMake to bail out with the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLUT_Xi_LIBRARY (ADVANCED)
linked by target "foo" in directory /home/marcel/temp/cmake/findglut-bug
GLUT_Xmu_LIBRARY (ADVANCED)
linked by target "foo" in directory /home/marcel/temp/cmake/findglut-bug