aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/warning/3 fallback consistency/meson.build
blob: ad2b22604a7be72fbd9406e52b8592bf97b38d98 (plain)
1
2
3
4
5
6
7
project('proj', 'c')

# The first call succeed and cache the value of 'sub' dependency. The 2nd call
# should return the cached value, but still verify the fallback variable is
# consistent.
dependency('sub', fallback : ['sub', 'dep1'])
dependency('sub', fallback : ['sub', 'dep2'])