From 29755e1df82e34061a0b0586234a5aaac5177d35 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Fri, 24 Jun 2022 16:10:20 +1000 Subject: GHOST/Wayland: support client-side window decorations This implements client-side window decorations for moving and resizing windows and HiDPI support. This functionality depends on the external project 'libdecor' that is currently a build option: WITH_GHOST_WAYLAND_LIBDECOR. Reviewed by: brecht, campbellbarton Ref D7989 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 31608b0c1ce..60d980930c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,6 +222,11 @@ if(UNIX AND NOT (APPLE OR HAIKU)) option(WITH_GHOST_WAYLAND "Enable building Blender against Wayland for windowing (under development)" OFF) mark_as_advanced(WITH_GHOST_WAYLAND) + + if (WITH_GHOST_WAYLAND) + option(WITH_GHOST_WAYLAND_LIBDECOR "Optionally build with LibDecor window decorations" OFF) + mark_as_advanced(WITH_GHOST_WAYLAND_LIBDECOR) + endif() endif() if(WITH_GHOST_X11) -- cgit v1.2.3