diff options
author | Christian Rauch <christian.rauch> | 2022-06-23 19:51:12 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-06-28 17:54:45 +0300 |
commit | bd6912930ff38d4f6deb23e4d5e8938cf210bf43 (patch) | |
tree | 07a511810b964eefac997b650cce6387566afb44 /build_files/cmake | |
parent | 614aa9d8ec7e3b6465b9e387da3f25f8639eec9e (diff) |
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
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
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} |