diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-05 20:21:24 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-05 20:21:24 (GMT) |
commit | cf80510ac523a33f2ca2970208f028382cf956a7 (patch) | |
tree | 490418d1ad5e8c3a9c5c35d4da7d34c3917753d4 /Modules/FindOpenGL.cmake | |
parent | 9f4e756d4188410ef3d37c9a99d493e41fdfc1fd (diff) | |
download | CMake-cf80510ac523a33f2ca2970208f028382cf956a7.zip CMake-cf80510ac523a33f2ca2970208f028382cf956a7.tar.gz CMake-cf80510ac523a33f2ca2970208f028382cf956a7.tar.bz2 |
ENH: On apple do not look for X11
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r-- | Modules/FindOpenGL.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index ac67d42..bbc6e24 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" ) |