summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-31 19:39:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-31 19:39:49 (GMT)
commit81aee11c21cf27559e8ab90f6d99213b4c251637 (patch)
tree4bce62438f5f0bc85ec2eb55835657ae475d4a7b /Modules/FindOpenGL.cmake
parentf58d7df66a4cbfd171ae27eb0beaf12cf5355c08 (diff)
downloadCMake-81aee11c21cf27559e8ab90f6d99213b4c251637.zip
CMake-81aee11c21cf27559e8ab90f6d99213b4c251637.tar.gz
CMake-81aee11c21cf27559e8ab90f6d99213b4c251637.tar.bz2
ENH: add checking for NOTFOUND
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 8cdf938..20e3b6d 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -19,6 +19,7 @@
IF (APPLE)
SET (OPENGL_gl_LIBRARY "-framework OpenGL" CACHE STRING "OpenGL lib for OSX")
SET (OPENGL_glu_LIBRARY "-framework AGL" CACHE STRING "AGL lib for OSX")
+ SET (OPENGL_INCLUDE_DIR "" CACHE STRING "Include path for OpenGL is not required for OSX when -framework is being used")
ENDIF (APPLE)
IF (WIN32)