wayland: client-side decoration

This commit is contained in:
Christian Rauch authored and Sam Lantinga committed 2021-07-25 14:54:12 -07:00
1 parent f4f9c6bc55
commit 9e6fcbe72c
13 files changed
+499 -7

No files matched your search

+9
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()