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