summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
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 /test/CMakeLists.txt
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 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()