summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-14 21:38:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-14 21:38:52 (GMT)
commit1aecb478d60b5fa9c40addea9ff5cf9faf186469 (patch)
tree31bcd668e2890fabf59cfdd5c2e4f53bc2c82f7b /Modules/FindOpenGL.cmake
parentc685c96b2972f6e68c3865f98307218416e2c3b4 (diff)
downloadCMake-1aecb478d60b5fa9c40addea9ff5cf9faf186469.zip
CMake-1aecb478d60b5fa9c40addea9ff5cf9faf186469.tar.gz
CMake-1aecb478d60b5fa9c40addea9ff5cf9faf186469.tar.bz2
ENH: go back to finding the framework opengl on the mac
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake4
1 files changed, 1 insertions, 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)