project('doctest', ['cpp'], version: '2.4.7', meson_version:'>=0.50')

doctest_dep = declare_dependency(include_directories: include_directories('doctest'))

if meson.version().version_compare('>=0.54.0')
    meson.override_dependency('doctest', doctest_dep)
endif
