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 7479d8c commit d0ce438
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_GLES3 TRUE)
endif()

target_sources(
mbgl-core
PRIVATE
Expand Down

0 comments on commit d0ce438

Please sign in to comment.