Skip to content

Commit 0625a11

Browse files
committed
Specify minimal meson version.
1 parent 9564c91 commit 0625a11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
project('dubna', 'cpp',
55
version: '0.1',
6+
meson_version: '>=1.1',
67
default_options: [
78
'buildtype=debugoptimized',
89
'cpp_std=c++17',
@@ -84,7 +85,7 @@ run_target('cppcheck', command: [
8485
'--quiet', # No progress report messages
8586
'--suppress=badBitmaskCheck', # Allow redundant zero operands
8687
'--suppress=*:*/gtest/*', # Ignore issues in Googletest
87-
'--library=' + join_paths(meson.source_root(), 'tests/googletest.xml'), # Parse TEST() macro properly
88+
'--library=' + join_paths(meson.project_source_root(), 'tests/googletest.xml'), # Parse TEST() macro properly
8889
]
8990
)
9091

0 commit comments

Comments
 (0)