From 68bbbf95a4448fd9476ae4b7177a6545b8ab6931 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 15 Jul 2005 12:57:53 -0400 Subject: [PATCH] BUG: fix for bug 852 --- Modules/FindGLUT.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake index 16d5f2750..6448b7da9 100644 --- a/Modules/FindGLUT.cmake +++ b/Modules/FindGLUT.cmake @@ -44,7 +44,8 @@ ELSE (WIN32) IF (APPLE) # These values for Apple could probably do with improvement. - FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h + FIND_PATH( GLUT_INCLUDE_DIR glut.h + /System/Library/Frameworks/GLUT.framework/Versions/A/Headers ${OPENGL_LIBRARY_DIR} ) SET(GLUT_glut_LIBRARY "-framework Glut" CACHE STRING "GLUT library for OSX")