Skip to content

Commit

Permalink
Bump minimum required meson version
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Aug 5, 2024
1 parent d0b2985 commit c548b28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
project('pkgfile', 'cpp',
version : '22',
license : 'MIT',
meson_version : '>=0.56',
default_options : [
'cpp_std=c++20',
'warning_level=3',
Expand Down Expand Up @@ -56,7 +57,7 @@ libcommon = static_library(
run_target(
'fmt',
command : [
join_paths(meson.source_root(), 'build-aux/source-format')
join_paths(meson.project_source_root(), 'build-aux/source-format')
])

executable(
Expand Down Expand Up @@ -107,7 +108,7 @@ custom_target(
if get_option('systemd_units')
systemd = dependency(
'systemd', not_found_message : 'systemd not found but systemd_units=true')
systemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
systemunitdir = systemd.get_variable(pkgconfig : 'systemdsystemunitdir')

install_data(
'systemd/pkgfile-update.timer',
Expand Down Expand Up @@ -185,7 +186,7 @@ if py3.found() and py3.language_version().version_compare(python_requirement)
test(
'pkgfile_@0@_integration_test'.format(basename),
py3,
args : [join_paths(meson.source_root(), input)],
args : [join_paths(meson.project_source_root(), input)],
env : ['PYTHONDONTWRITEBYTECODE=1'])
endforeach
else
Expand Down

0 comments on commit c548b28

Please sign in to comment.