Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rauch <christian.rauch>2022-06-23 19:51:12 +0300
committerXavier Hallade <xavier.hallade@intel.com>2022-06-29 10:27:27 +0300
commit66a4e0b059598b6b6b00dce2031481034a745edd (patch)
treee21e56c76ff5c9d58392da43f64bfc8399d432a4 /build_files
parent499649e58e7b19d12c533f0400adb33f2c70699d (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')
-rw-r--r--build_files/cmake/platform/platform_unix.cmake2
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 2fc8a99b62b..dff860d9876 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -640,8 +640,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}