mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
build: fix various meson deprecation warnings
This commit is contained in:
@ -18,7 +18,7 @@ libsysprof_api_version = 4
|
|||||||
version_split = meson.project_version().split('.')
|
version_split = meson.project_version().split('.')
|
||||||
datadir = get_option('datadir')
|
datadir = get_option('datadir')
|
||||||
datadir_for_pc_file = join_paths('${prefix}', 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'
|
glib_req_version = '>= 2.67.4'
|
||||||
gtk_req_version = '>= 3.22'
|
gtk_req_version = '>= 3.22'
|
||||||
@ -191,7 +191,7 @@ int main(void) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
''')
|
''')
|
||||||
config_h.set10('HAVE_STDATOMIC_H', 1)
|
config_h.set10('HAVE_STDATOMIC_H', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
|||||||
@ -22,7 +22,6 @@ sysprof_deps = [
|
|||||||
|
|
||||||
sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
|
sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
|
||||||
dependencies: sysprof_deps,
|
dependencies: sysprof_deps,
|
||||||
gui_app: true,
|
|
||||||
install_dir: get_option('bindir'),
|
install_dir: get_option('bindir'),
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user