build: disable catch2 unit-tests

The library tests take more time to complie than the entire Waybar.
This commit is contained in:
Aleksei Bavshin 2024-02-17 08:56:43 -08:00
parent f3063e86aa
commit fd5a03dc5f
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ endif
catch2 = dependency( catch2 = dependency(
'catch2', 'catch2',
version: '>=3.5.1', version: '>=3.5.1',
default_options: [ 'tests=false' ],
fallback: ['catch2', 'catch2_dep'], fallback: ['catch2', 'catch2_dep'],
required: get_option('tests'), required: get_option('tests'),
) )