Fix FindFreeGLUT
This commit is contained in:
parent
b6b027fbb3
commit
2cd872cae2
|
@ -1,6 +1,6 @@
|
||||||
find_path( GLUT_INCLUDE_DIR NAMES glut.h freeglut.h PATHS /usr/include/GL )
|
find_path( GLUT_INCLUDE_DIR NAMES GL/freeglut.h )
|
||||||
|
|
||||||
find_library( GLUT_LIBRARY NAMES glut PATHS /usr/lib /usr/lib64 /lib /lib64 /usr/local/lib )
|
find_library( GLUT_LIBRARY NAMES glut freeglut PATHS /usr/lib /usr/lib64 /lib /lib64 /usr/local/lib )
|
||||||
|
|
||||||
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARY)
|
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARY)
|
||||||
set( GLUT_FOUND "TRUE" )
|
set( GLUT_FOUND "TRUE" )
|
||||||
|
|
Loading…
Reference in a new issue