summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindOpenGL.cmake2
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" )