diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-18 09:29:37 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-18 09:29:37 +0100 |
| commit | b246b6650ab04cbdf3e258b5a75bf928fc46302c (patch) | |
| tree | ef73c74ed8ec92d361376ed597fb82d6c9203ea0 /src/CMakeLists.txt | |
| parent | 993b7da3b513ecb33730ab76828e64dcb6b80115 (diff) | |
Fix "link errors connected with recent Zenity dialog feature" (#602)
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 43baa24d1..8994d63e3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -212,12 +212,12 @@ if (FLTK_USE_X11 AND NOT OPTION_USE_WAYLAND) fl_dnd_x.cxx Fl_Native_File_Chooser_FLTK.cxx Fl_Native_File_Chooser_GTK.cxx - Fl_Native_File_Chooser_Zenity.cxx Fl_get_key.cxx ) if (OPTION_USE_KDIALOG) - set (DRIVER_FILES ${DRIVER_FILES} Fl_Native_File_Chooser_Kdialog.cxx) + set (DRIVER_FILES ${DRIVER_FILES} Fl_Native_File_Chooser_Kdialog.cxx + Fl_Native_File_Chooser_Zenity.cxx) endif (OPTION_USE_KDIALOG) if (FLTK_USE_CAIRO) @@ -287,9 +287,11 @@ elseif (OPTION_USE_WAYLAND) drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx Fl_Native_File_Chooser_FLTK.cxx Fl_Native_File_Chooser_GTK.cxx - Fl_Native_File_Chooser_Kdialog.cxx - Fl_Native_File_Chooser_Zenity.cxx ) + if (OPTION_USE_KDIALOG) + set (DRIVER_FILES ${DRIVER_FILES} Fl_Native_File_Chooser_Kdialog.cxx + Fl_Native_File_Chooser_Zenity.cxx) + endif (OPTION_USE_KDIALOG) if (FLTK_USE_X11) list (APPEND DRIVER_FILES drivers/Cairo/Fl_Display_Cairo_Graphics_Driver.cxx |
