test: fix build with Catch2 v2.x

Use smaller includes for Catch2 v3.
This commit is contained in:
Aleksei Bavshin
2023-01-16 11:04:56 -08:00
parent ca9d237b00
commit 43d52c59d9
5 changed files with 30 additions and 6 deletions

View File

@ -447,7 +447,7 @@ endif
catch2 = dependency(
'catch2',
version: '>=3.0.0',
version: '>=2.0.0',
fallback: ['catch2', 'catch2_dep'],
required: get_option('tests'),
)