summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/9 disabled subproject/meson.build
blob: c153fa3a3c3a2d5cd213352263701e1543ba6574 (plain)
1
2
3
4
5
6
project('cmakeSubTest', ['c', 'cpp'])

cm = import('cmake')

sub_pro = cm.subproject('nothinig', required: false)
assert(not sub_pro.found(), 'subproject found() reports wrong value')