From e9966b7e3190705b3e9b50d35f6a5aff3fe6443e Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 29 Jan 2026 17:25:24 +0100 Subject: 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. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4522c99bc..f3f5a45ca 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -184,7 +184,7 @@ fl_create_example(output output.cxx fltk::fltk) fl_create_example(overlay overlay.cxx fltk::fltk) fl_create_example(pack pack.cxx fltk::fltk) -if(FLTK_OPTION_PEN_SUPPORT) +if(FLTK_HAVE_PEN_SUPPORT) fl_create_example(penpal penpal.cxx fltk::fltk) endif() -- cgit v1.2.3