build: fix various meson deprecation warnings

This commit is contained in:
Christian Hergert
2022-04-01 13:08:26 -07:00
parent c75391e681
commit b307550ea5
2 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ libsysprof_api_version = 4
version_split = meson.project_version().split('.')
datadir = get_option('datadir')
datadir_for_pc_file = join_paths('${prefix}', datadir)
podir = join_paths(meson.source_root(), 'po')
podir = join_paths(meson.current_source_dir(), 'po')
glib_req_version = '>= 2.67.4'
gtk_req_version = '>= 3.22'
@ -191,7 +191,7 @@ int main(void) {
return 0;
}
''')
config_h.set10('HAVE_STDATOMIC_H', 1)
config_h.set10('HAVE_STDATOMIC_H', true)
endif
subdir('src')