From bd6912930ff38d4f6deb23e4d5e8938cf210bf43 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Thu, 23 Jun 2022 18:51:12 +0200 Subject: Build: when using Wayland, always enable EGL and disable system GLEW GLEW does not support GLX and EGL at the same time, and the distribution version is likely to have GLX. This also refactors the code so all OpenGL related CMake options are together. Differential Revision: https://developer.blender.org/D12034 --- build_files/cmake/platform/platform_unix.cmake | 2 -- 1 file changed, 2 deletions(-) (limited to 'build_files/cmake') diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index 875305b0564..2d003f276e8 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -622,8 +622,6 @@ if(WITH_GHOST_WAYLAND) pkg_check_modules(libdecor REQUIRED libdecor-0>=0.1) endif() - set(WITH_GL_EGL ON) - list(APPEND PLATFORM_LINKLIBS ${wayland-client_LINK_LIBRARIES} ${wayland-egl_LINK_LIBRARIES} -- cgit v1.2.3