From 5df5daf78e135e0c8371012ffe56df5cae357755 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 20 Dec 2023 16:56:29 +0100 Subject: Make the 'Forms' compatibility library 'fltk_forms' optional This library is no longer needed in FLTK itself. There is only one demo program (test/forms.cxx) that uses it if it is built. The demo program displays a message if fltk_forms is not available. The default is 'enabled' for backwards compatibility but this may be changed to 'disabled' in a future version. --- fl_config.cmake.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'fl_config.cmake.in') diff --git a/fl_config.cmake.in b/fl_config.cmake.in index a6e3b086e..3fdcea274 100644 --- a/fl_config.cmake.in +++ b/fl_config.cmake.in @@ -2,7 +2,7 @@ /* * Build configuration file for the Fast Light Tool Kit (FLTK). * - * Copyright 1998-2021 by Bill Spitzak and others. + * Copyright 1998-2023 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this @@ -46,6 +46,15 @@ #cmakedefine FLTK_HAVE_CAIROEXT 1 +/* + * FLTK_HAVE_FORMS + * + * Do we have the Forms compatibility library available? +*/ + +#cmakedefine FLTK_HAVE_FORMS 1 + + /* * FLTK_USE_X11 * -- cgit v1.2.3