Skip to content

Commit 7f4cbbc

Browse files
authored
Merge pull request #49 from bgilbert/fallback
meson: explicitly specify fallbacks for `uthash` and `check`
2 parents 0920c92 + f3855f9 commit 7f4cbbc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,18 @@ if found_uthash
7373
else
7474
# fall back to dependency() rather than subproject() so
7575
# --wrap-mode=nofallback works
76-
uthash = dependency('uthash')
76+
uthash = dependency(
77+
'uthash',
78+
fallback : ['uthash', 'uthash_dep'],
79+
)
7780
endif
7881
if get_option('tests')
7982
check = dependency(
8083
'check',
8184
default_options : [
8285
'warning_level=0',
8386
],
87+
fallback : ['check', 'check_dep'],
8488
version : '>=0.9.6',
8589
)
8690
endif

0 commit comments

Comments
 (0)