diff options
author | Christian Rauch <christian.rauch> | 2022-06-24 09:10:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-24 17:10:39 +0300 |
commit | 29755e1df82e34061a0b0586234a5aaac5177d35 (patch) | |
tree | 0f1b754f25e9492349d1f33b96a71ac9da73c985 /CMakeLists.txt | |
parent | f1d191120f4f1d762369b19bdbf8d9be29000d77 (diff) |
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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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) |