|
|
commit 69df45d38b7009cb0e1ce932c8c5ed0c15b9a8dd
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Mar 13 09:26:55 2024 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Mar 13 09:26:55 2024 +0100
CMake-based build under Linux shows whether X11 is used
CMakeLists.txt | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git CMakeLists.txt CMakeLists.txt
index 7ac4e11..68ae7e9 100644
--- CMakeLists.txt
+++ 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")
[ Direct Link to Message ] | |
|
| |