Browse Source

Don't build GLX support if on macOS

Donny Lawrence 7 years ago
parent
commit
a8954d7f67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Config.cmake

+ 1 - 1
dtool/Config.cmake

@@ -572,7 +572,7 @@ endif()
 #package_option(XCURSOR
 #  "This enables custom cursor support in x11display.")
 
-if(HAVE_GL AND HAVE_X11)
+if(HAVE_GL AND HAVE_X11 AND NOT APPLE)
   option(HAVE_GLX "Enables GLX. Requires OpenGL and X11." ON)
 else()
   option(HAVE_GLX "Enables GLX. Requires OpenGL and X11." OFF)