diff options
-rw-r--r-- | include/suil/suil.h | 2 | ||||
-rw-r--r-- | meson.build | 5 | ||||
-rw-r--r-- | test/headers/meson.build | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/include/suil/suil.h b/include/suil/suil.h index 5fd3294..c708abb 100644 --- a/include/suil/suil.h +++ b/include/suil/suil.h @@ -187,7 +187,7 @@ typedef void* SuilWidget; /** Instantiate a UI for an LV2 plugin. - This funcion may load a suil module to adapt the UI to the desired toolkit. + This function may load a suil module to adapt the UI to the desired toolkit. Suil is configured at compile time to load modules from the appropriate place, but this can be changed at run-time via the environment variable SUIL_MODULE_DIR. This makes it possible to bundle suil with an application. diff --git a/meson.build b/meson.build index e785109..665f4f7 100644 --- a/meson.build +++ b/meson.build @@ -205,7 +205,6 @@ dl_dep = cc.find_library('dl', required: false) lv2_dep = dependency( 'lv2', - fallback: 'lv2', include_type: 'system', version: '>= 1.18.4', ) @@ -317,12 +316,12 @@ libsuil = library( # Declare dependency for internal meson dependants suil_dep = declare_dependency( compile_args: extra_c_args, - dependencies: [dl_dep], + dependencies: [lv2_dep, dl_dep], include_directories: include_dirs, link_with: libsuil, ) -# Generage pkg-config file for external dependants +# Generate pkg-config file for external dependants pkg.generate( libsuil, description: 'Library for loading and wrapping LV2 plugin UIs', diff --git a/test/headers/meson.build b/test/headers/meson.build index 191159c..aed8397 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -8,6 +8,10 @@ if get_option('warning_level') == 'everything' if not meson.is_cross_build() header_c_suppressions += ['-Wno-poison-system-directories'] endif + elif cc.get_id() == 'msvc' + header_c_suppressions += [ + '/wd4820', # padding added after construct + ] endif endif |