diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-13 09:26:55 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-13 09:26:55 +0100 |
| commit | 69df45d38b7009cb0e1ce932c8c5ed0c15b9a8dd (patch) | |
| tree | ef8815c1c0185273f5207d36e0752ee0dce2859e | |
| parent | 40aa9c86096462a679bbcd678c4419755628800b (diff) | |
CMake-based build under Linux shows whether X11 is used
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ac4e112d..68ae7e974 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,15 +311,19 @@ endif() if(UNIX AND NOT (APPLE AND NOT FLTK_BACKEND_X11)) if(FLTK_BACKEND_WAYLAND) - message(STATUS "Use Wayland : Yes (if available at run-time)") + if(FLTK_BACKEND_X11) + message(STATUS "Use Wayland : Yes (can also run as X11 client)") + else() + message(STATUS "Use Wayland : Yes (cannot run as X11 client)") + endif(FLTK_BACKEND_X11) if(USE_SYSTEM_LIBDECOR) message(STATUS "Use system libdecor : Yes") else() message(STATUS "Use system libdecor : No") - endif() + endif(USE_SYSTEM_LIBDECOR) else() message(STATUS "Use Wayland : No (therefore, X11 is used)") - endif() + endif(FLTK_BACKEND_WAYLAND) if(FLTK_USE_CAIRO) message(STATUS "All drawing uses Cairo : Yes") |
