Add an override_dependency() call for libdicom. This is the modern way of propagating dependencies out of subprojects, allowing a parent project to use dependency('libdicom') rather than dependency('libdicom', fallback : ['libdicom', 'libdicom_dep']).
Also skip the dist script if we're a subproject. Dist scripts can't be used in subprojects before Meson 0.58.0, and in our case, it's not clear that it makes sense to do so. The parent project probably doesn't want to ship our documentation, may not have vendored our dotfiles, and may not want us skipping files they did choose to vendor.
Add an
override_dependency()
call for libdicom. This is the modern way of propagating dependencies out of subprojects, allowing a parent project to usedependency('libdicom')
rather thandependency('libdicom', fallback : ['libdicom', 'libdicom_dep'])
.Also skip the dist script if we're a subproject. Dist scripts can't be used in subprojects before Meson 0.58.0, and in our case, it's not clear that it makes sense to do so. The parent project probably doesn't want to ship our documentation, may not have vendored our dotfiles, and may not want us skipping files they did choose to vendor.