Skip to content

Commit

Permalink
cmake: enable MLN_WITH_EGL and OPENGL_USE_GLES for Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Jan 16, 2024
1 parent 29c16a4 commit 81fa322
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platform/linux/linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ find_package(Threads REQUIRED)
pkg_search_module(WEBP libwebp REQUIRED)
pkg_search_module(LIBUV libuv REQUIRED)

if(MLN_WITH_WAYLAND)
set(MLN_WITH_EGL TRUE)
set(OPENGL_USE_GLES2 TRUE)
endif()

target_sources(
mbgl-core
PRIVATE
Expand Down

0 comments on commit 81fa322

Please sign in to comment.