From 1aecb478d60b5fa9c40addea9ff5cf9faf186469 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 14 Mar 2006 16:38:52 -0500 Subject: ENH: go back to finding the framework opengl on the mac --- Modules/FindOpenGL.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index a41646e..4c18911 100644 --- a/Modules/FindOpenGL.cmake +++ b/Modules/FindOpenGL.cmake @@ -17,9 +17,7 @@ IF (APPLE) FIND_LIBRARY(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL lib for OSX") FIND_LIBRARY(OPENGL_glu_LIBRARY AGL DOC "AGL lib for OSX") -# since many package include opengl by GL/gl.h look for this version -# instead of the framework OpenGL/gl.h - FIND_PATH(OPENGL_INCLUDE_DIR NAMES gl.h GL/gl.h DOC "Include for OpenGL on OSX") + FIND_PATH(OPENGL_INCLUDE_DIR OpenGL/gl.h DOC "Include for OpenGL on OSX") ENDIF (APPLE) IF (WIN32) -- cgit v0.12