ソースを参照

ENH: On apple do not look for X11

Andy Cedilnik 19 年 前
コミット
cf80510ac5
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Modules/FindOpenGL.cmake

+ 2 - 0
Modules/FindOpenGL.cmake

@@ -52,6 +52,7 @@ IF (WIN32)
   ENDIF (CYGWIN)
   ENDIF (CYGWIN)
 
 
 ELSE (WIN32)
 ELSE (WIN32)
+  IF(NOT APPLE)
 
 
   # The first line below is to make sure that the proper headers
   # The first line below is to make sure that the proper headers
   # are used on a Linux machine with the NVidia drivers installed.
   # are used on a Linux machine with the NVidia drivers installed.
@@ -116,6 +117,7 @@ ELSE (WIN32)
           /usr/shlib
           /usr/shlib
   )
   )
 
 
+  ENDIF(NOT APPLE)
 ENDIF (WIN32)
 ENDIF (WIN32)
 
 
 SET( OPENGL_FOUND "NO" )
 SET( OPENGL_FOUND "NO" )