Try to use catch as a subproject

This doesn't work.
This commit is contained in:
Matthias Clasen 2024-07-02 06:42:41 -04:00
parent 1f076432db
commit e9bb7ff825
2 changed files with 10 additions and 4 deletions

8
subprojects/catch.wrap Normal file
View File

@ -0,0 +1,8 @@
[wrap-git]
directory = catch
url = https://gitlab.gnome.org/jadahl/catch.git
revision = main
depth = 1
[provide]
program_names = catch

View File

@ -3,10 +3,8 @@ installed_test_bindir = join_paths(gtk_libexecdir, 'installed-tests', 'gtk-4.0')
installed_test_datadir = join_paths(gtk_datadir, 'installed-tests', 'gtk-4.0')
test_wrappers = []
catch = find_program('catch', required: false)
if catch.found()
test_wrappers += [ catch ]
endif
catch = find_program('catch')
test_wrappers += [ catch ]
common_env = [
'GIO_USE_VOLUME_MONITOR=unix',