summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-29 17:25:24 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-29 17:43:21 +0100
commite9966b7e3190705b3e9b50d35f6a5aff3fe6443e (patch)
treeba1be7d49801515eb8f055b7f13238a32bb92498 /config.h.in
parentbed38ba3f5ba653ab41bd5abb92c923591442c8f (diff)
CMake: add try_compile() to figure out if Pen/Tablet is supported
This test is specifically intended to disable Pen/Tablet support on classic MinGW (32-bit) platforms that lack required symbol definitions although Pen/Tablet support might be supported by the Windows system. This test can be extended for other platforms, but for now it's performed only on Windows.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 9f235f7d1..16fb08f2c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -362,7 +362,8 @@
* FLTK_HAVE_PEN_SUPPORT
*
* Do we have pen/tablet support for the current platform?
- * See CMake option FLTK_OPTION_PEN_SUPPORT
+ * See CMake option FLTK_OPTION_PEN_SUPPORT, but note that a build test
+ * (try_compile()) is performed to test if the option is available
*
* Note: this option is "hidden" in 'config.h', i.e. it's not (yet)
* publicly accessibe. Move this to 'fl_config.h' to make it public.