mirror of
https://github.com/fltk/fltk.git
synced 2026-08-17 08:32:21 +08:00
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
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:
+6
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user