From 18c045a35fc4352b43cf200db488a73677aa053e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 8 Oct 2022 13:15:09 +1100 Subject: [PATCH] Build: show X11 & Wayland options on first run --- CMakeLists.txt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bb685195bd..e02eee8ce35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1913,9 +1913,25 @@ if(FIRST_RUN) info_cfg_option(WITH_INSTALL_PORTABLE) info_cfg_option(WITH_MEM_JEMALLOC) info_cfg_option(WITH_MEM_VALGRIND) - info_cfg_option(WITH_X11_XF86VMODE) - info_cfg_option(WITH_X11_XFIXES) - info_cfg_option(WITH_X11_XINPUT) + + info_cfg_text("GHOST Options:") + info_cfg_option(WITH_GHOST_DEBUG) + info_cfg_option(WITH_GHOST_SDL) + if(UNIX AND NOT APPLE) + info_cfg_option(WITH_GHOST_X11) + info_cfg_option(WITH_GHOST_WAYLAND) + if(WITH_GHOST_X11) + info_cfg_option(WITH_GHOST_XDND) + info_cfg_option(WITH_X11_XF86VMODE) + info_cfg_option(WITH_X11_XFIXES) + info_cfg_option(WITH_X11_XINPUT) + endif() + if(WITH_GHOST_WAYLAND) + info_cfg_option(WITH_GHOST_WAYLAND_DYNLOAD) + info_cfg_option(WITH_GHOST_WAYLAND_LIBDECOR) + info_cfg_option(WITH_GHOST_WAYLAND_DBUS) + endif() + endif() info_cfg_text("Image Formats:") info_cfg_option(WITH_IMAGE_CINEON)