diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-28 21:13:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-28 21:13:10 +0200 |
| commit | 3bc379bc4e159df66023ade31931133f7c78cb1f (patch) | |
| tree | d22d29cd7c4d42f2b04c6c189fcb6cab5c8045ae /CMake/variables.cmake | |
| parent | 1a6322f8e1d74770b504f3912bda8fc022c93a42 (diff) | |
Fix usage of FLTK_BACKEND_WAYLAND and FLTK_USE_WAYLAND
- Do not change or remove the cache variable FLTK_BACKEND_WAYLAND:
this is an option set (and must only be changed) by the user.
- CMake/options.cmake: check Wayland availability if option
FLTK_BACKEND_WAYLAND is ON and set the result variable
FLTK_USE_WAYLAND accordingly.
- Replace FLTK_BACKEND_WAYLAND with FLTK_USE_WAYLAND everywhere
else, except as noted above: in options.cmake.
Diffstat (limited to 'CMake/variables.cmake')
| -rw-r--r-- | CMake/variables.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/variables.cmake b/CMake/variables.cmake index 4d1be9f2d..b2993f032 100644 --- a/CMake/variables.cmake +++ b/CMake/variables.cmake @@ -43,7 +43,7 @@ if(WIN32) list(APPEND FLTK_LDLIBS -lole32 -luuid -lcomctl32 -lws2_32 -lwinspool) elseif(APPLE AND NOT FLTK_BACKEND_X11) list(APPEND FLTK_LDLIBS ${FLTK_COCOA_FRAMEWORKS}) -elseif(FLTK_BACKEND_WAYLAND) +elseif(FLTK_USE_WAYLAND) foreach(_lib WLDCURSOR WLDCLIENT XKBCOMMON DBUS) list(APPEND FLTK_LDLIBS "${${_lib}_LDFLAGS}") endforeach() |
