Browse Source

Require fltk-images for legacy-gui, needed for client images

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.4.0
falkTX 4 years ago
parent
commit
f85b0c30a3
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 4 additions and 1 deletions
  1. +2
    -1
      meson.build
  2. +2
    -0
      src/legacy-gui.cpp

+ 2
- 1
meson.build View File

@@ -29,6 +29,7 @@ jackdep = dependency('jack', required: get_option('jackpatch')) #and not 'libjac

cc = meson.get_compiler('c')
fltkdep = cc.find_library('fltk', required: get_option('nsm-legacy-gui') or get_option('nsm-proxy'))
fltkimagesdep = cc.find_library('fltk_images', required: get_option('nsm-legacy-gui'))
fluid = find_program('fluid', required: get_option('nsm-proxy'))


@@ -90,7 +91,7 @@ if get_option('nsm-legacy-gui')

executable('nsm-legacy-gui',
sources: ['src/legacy-gui.cpp', 'src/debug.cpp', 'src/Endpoint.cpp', 'src/Thread.cpp', 'src/FL/Fl_Scalepack.C'],
dependencies: [fltkdep, liblodep, threaddep],
dependencies: [fltkimagesdep, fltkdep, liblodep, threaddep],
install: true,
)



+ 2
- 0
src/legacy-gui.cpp View File

@@ -1313,6 +1313,8 @@ cb_main ( Fl_Widget *, void * )
int
main (int argc, char **argv )
{
fl_register_images();

Fl::lock();
Fl_Double_Window *main_window;


Loading…
Cancel
Save