From ff25161b10a635de9ce205e5c0bd866390513a68 Mon Sep 17 00:00:00 2001 From: Struma Date: Tue, 8 Jun 2021 11:40:26 -0400 Subject: [PATCH] satisfy meson --- meson.build | 2 +- src/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index b869a0e8..741abc05 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('mkxp-z', 'c', 'cpp', version: '2.2.1', meson_version: '>=0.47.0', default_options: ['cpp_std=c++11', 'buildtype=release']) +project('mkxp-z', 'c', 'cpp', version: '2.2.1', meson_version: '>=0.51.0', default_options: ['cpp_std=c++11', 'buildtype=release']) host_system = host_machine.system() diff --git a/src/meson.build b/src/meson.build index 411746b4..38818126 100755 --- a/src/meson.build +++ b/src/meson.build @@ -39,7 +39,7 @@ endif iconv = compilers['cpp'].find_library('iconv', static: build_static, required: false) if iconv.found() == true global_dependencies += iconv - global_dependencies += compilers['cpp'].find_library('uchardet', static: build_static) + global_dependencies += dependency('uchardet', static: build_static) global_args += '-DMKXPZ_INI_ENCODING' endif