diff options
author | David Cole <david.cole@kitware.com> | 2011-01-17 19:19:18 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-01-17 19:19:18 (GMT) |
commit | efd1d9c7994468b0d45a7752aa86d1e32c59a6cf (patch) | |
tree | 82f8dae8d93607102f75db4df4e93df3db4b4b50 /Modules/FindGLUT.cmake | |
parent | 6b084f1e0469a84eebfa6c849ac2a4445a9e2438 (diff) | |
download | CMake-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.cmake | 2 |
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 |