Skip to content

Commit bfc7bca

Browse files
committed
meson: don't build tests unless testing
Meson 1.7.0+ respects build_by_default: false for tests.
1 parent f96178b commit bfc7bca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ if get_option('tests')
246246
'check_dicom',
247247
'tests/check_dicom.c',
248248
dependencies : [check, libdicom_dep],
249+
build_by_default : false,
249250
)
250251
test('check_dicom', check_dicom)
251252
endif

0 commit comments

Comments
 (0)