wayland: client-side decoration

This commit is contained in:
Christian Rauch
2020-06-11 22:10:28 +01:00
committed by Sam Lantinga
parent f4f9c6bc55
commit 9e6fcbe72c
13 changed files with 499 additions and 7 deletions

View File

@@ -697,6 +697,15 @@ macro(CheckWayland)
set(EXTRA_LIBS ${WAYLAND_LIBRARIES} ${EXTRA_LIBS})
endif()
if(WAYLAND_LIBDECOR)
pkg_check_modules(libdecor REQUIRED libdecor-0)
FindLibraryAndSONAME(decor-0)
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\"${DECOR_0_LIB_SONAME}\"")
add_definitions(-DHAVE_LIBDECOR_H)
endif()
set(SDL_VIDEO_DRIVER_WAYLAND 1)
endif()
endif()