Restore building for Wayland with early Linux versions without the tablet-v2.xml protocol file
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-06-19 10:54:58 +02:00
parent 1e0de4fbdd
commit 5f0987d4ed
+6 -1
View File
@@ -516,7 +516,12 @@ if(FLTK_OPTION_PEN_SUPPORT)
else()
set(FLTK_HAVE_PEN_SUPPORT 0)
endif()
else(WIN32) # all other platforms
elseif(FLTK_USE_WAYLAND)
pkg_get_variable(PROTOCOLS wayland-protocols pkgdatadir)
if(EXISTS ${PROTOCOLS}/stable/tablet/tablet-v2.xml)
set(FLTK_HAVE_PEN_SUPPORT 1)
endif()
else() # all other platforms
set(FLTK_HAVE_PEN_SUPPORT 1)
endif(WIN32)