aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/58 pkg_config_path option/meson.build
blob: f9ceead06be723f89ba763144292fdf46c0d124c (plain)
1
2
3
4
5
6
7
project('pkg_config_path option')

build = dependency('totally_made_up_dep', native: true, method : 'pkg-config')
host = dependency('totally_made_up_dep', native: false, method : 'pkg-config')

assert(build.version() == '4.5.6', 'wrong version for build machine dependency')
assert(host.version() == '1.2.3', 'wrong version for host machine dependency')