diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-08 09:40:57 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-08 09:41:06 +0100 |
| commit | 4bc25f7f9df2872189d57c21f1fa937d83b71536 (patch) | |
| tree | 1e244c3edebfccf478ec8c01f65c2dcfcb4c533f /CMake | |
| parent | 630517049f21d83dd6a4d63a0f6bbff55a05ac70 (diff) | |
Fix for issue #278 - continued : add CMake OPTION_USE_KDIALOG
Use of the kdialog command by class Fl_Naive_File_Chooser can now be turned off
at build-time through CMake OPTION_USE_KDIALOG.
If building via configure + make, set #define USE_KDIALOG to 0 in config.h before make.
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index ccb253522..cad4b86e2 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -610,6 +610,15 @@ endif (OPTION_FILESYSTEM_SUPPORT) ####################################################################### ####################################################################### +option (OPTION_USE_KDIALOG "Fl_Native_File_Chooser may run kdialog" ON) +if (OPTION_USE_KDIALOG) + set (USE_KDIALOG 1) +else () + set (USE_KDIALOG 0) +endif (OPTION_USE_KDIALOG) +####################################################################### + +####################################################################### option (OPTION_CREATE_ANDROID_STUDIO_IDE "create files needed to compile FLTK for Android" OFF) ####################################################################### |
