test cases/unit/23 unfound pkgconfig/meson.build
raw| 1 | project('foobar', 'c') |
| 2 | |
| 3 | unfound = dependency('blub_blob_blib', required : false) |
| 4 | |
| 5 | pkgg = import('pkgconfig') |
| 6 | |
| 7 | l = shared_library('somename', 'some.c', |
| 8 | dependencies : unfound) |
| 9 | |
| 10 | pkgg.generate( |
| 11 | libraries : l, |
| 12 | name : 'somename', |
| 13 | version : '1.0.0', |
| 14 | description : 'A test library.', |
| 15 | ) |