summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-01-17 19:19:18 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-01-17 19:19:18 (GMT)
commitefd1d9c7994468b0d45a7752aa86d1e32c59a6cf (patch)
tree82f8dae8d93607102f75db4df4e93df3db4b4b50 /Modules/FindGLUT.cmake
parent6b084f1e0469a84eebfa6c849ac2a4445a9e2438 (diff)
downloadCMake-efd1d9c7994468b0d45a7752aa86d1e32c59a6cf.zip
CMake-efd1d9c7994468b0d45a7752aa86d1e32c59a6cf.tar.gz
CMake-efd1d9c7994468b0d45a7752aa86d1e32c59a6cf.tar.bz2
Add freeglut as library name (#10031)
Thanks to Thomas Sondergaard for the patch in the bug report.
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r--Modules/FindGLUT.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index 45df79e..af88997 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -23,7 +23,7 @@
IF (WIN32)
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
PATHS ${GLUT_ROOT_PATH}/include )
- FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32
+ FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32 freeglut
PATHS
${OPENGL_LIBRARY_DIR}
${GLUT_ROOT_PATH}/Release