1 2 3 4
project('cmake prefix path test') d = dependency('mesontest', method : 'cmake') assert(d.version() == '1.2.3', 'Got the wrong version!')