summaryrefslogtreecommitdiff
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-05 16:21:24 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-05 16:21:24 -0400
commitcf80510ac523a33f2ca2970208f028382cf956a7 (patch)
tree490418d1ad5e8c3a9c5c35d4da7d34c3917753d4 /Modules/FindOpenGL.cmake
parent9f4e756d4188410ef3d37c9a99d493e41fdfc1fd (diff)
downloadcmake-cf80510ac523a33f2ca2970208f028382cf956a7.tar.gz
ENH: On apple do not look for X11
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index ac67d42b1f..bbc6e2466a 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -52,6 +52,7 @@ IF (WIN32)
ENDIF (CYGWIN)
ELSE (WIN32)
+ IF(NOT APPLE)
# The first line below is to make sure that the proper headers
# are used on a Linux machine with the NVidia drivers installed.
@@ -116,6 +117,7 @@ ELSE (WIN32)
/usr/shlib
)
+ ENDIF(NOT APPLE)
ENDIF (WIN32)
SET( OPENGL_FOUND "NO" )