mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10: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('.')
|
||||
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')
|
||||
|
||||
@ -22,7 +22,6 @@ sysprof_deps = [
|
||||
|
||||
sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
|
||||
dependencies: sysprof_deps,
|
||||
gui_app: true,
|
||||
install_dir: get_option('bindir'),
|
||||
install: true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user