summaryrefslogtreecommitdiff
path: root/CMake/options.cmake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-04-22 16:34:08 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-04-22 16:34:08 +0200
commitabfc8ee52f5e7b7e9022dd0bb6fd370a0e9c32af (patch)
tree95d6a53874a68c0cc13bda5128561d40314b78a9 /CMake/options.cmake
parentee37965fad79a815feea3f8a4a6cfec03d4a9029 (diff)
Fix: Fl_Native_File_Chooser::filter_value() [Kdialog] always returns 0 (#899)
- remove build option FLTK_USE_KDIALOG replaced by an Fl::option() option - new run-time option OPTION_FNFC_USES_KDIALOG - make options OPTION_FNFC_USES_KDIALOG and OPTION_FNFC_USES_ZENITY false by default - add mention of new program fltk-options in the doc of Fl::option() - change logic of choice of the native file chooser under X11/Wayland: the zenity and kdialog choosers are opt-in; otherwise the GTK file chooser is used, unless opted out with OPTION_FNFC_USES_GTK - document that zenity may be interesting for sandboxed apps - document that both zenity and kdialog make member functions Fl_Native_File_Chooser::filter_value() inoperable
Diffstat (limited to 'CMake/options.cmake')
-rw-r--r--CMake/options.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 41ff93edd..6d5c8127a 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -1001,15 +1001,6 @@ endif(FLTK_OPTION_FILESYSTEM_SUPPORT)
#######################################################################
#######################################################################
-option(FLTK_USE_KDIALOG "Fl_Native_File_Chooser may run kdialog" ON)
-if(FLTK_USE_KDIALOG)
- set(USE_KDIALOG 1)
-else()
- set(USE_KDIALOG 0)
-endif()
-#######################################################################
-
-#######################################################################
option(CMAKE_SUPPRESS_REGENERATION "suppress rules to re-run CMake on rebuild" OFF)
mark_as_advanced(CMAKE_SUPPRESS_REGENERATION)