Skip to content

Commit 0920c92

Browse files
authored
Merge pull request #47 from bgilbert/meson
meson: reduce minimum supported Meson version to 0.50
2 parents f89f115 + a29d44f commit 0920c92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

meson.build

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project(
77
'warning_level=2',
88
],
99
license : 'MIT',
10-
meson_version : '>=0.54',
10+
meson_version : '>=0.50',
1111
version : '0.1.0',
1212
)
1313
if not meson.is_subproject()
@@ -172,7 +172,9 @@ libdicom_dep = declare_dependency(
172172
include_directories : library_includes,
173173
link_with : libdicom,
174174
)
175-
meson.override_dependency('libdicom', libdicom_dep)
175+
if meson.version().version_compare('>=0.54')
176+
meson.override_dependency('libdicom', libdicom_dep)
177+
endif
176178

177179
# tools
178180
executable(

0 commit comments

Comments
 (0)