satisfy meson

This commit is contained in:
Struma 2021-06-08 11:40:26 -04:00 committed by Roza
parent d466a34eea
commit ff25161b10
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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