Test that the GL pkgconfig dependency is actually a pkgconfig dependencypull/2926/head
parent
0a6cbcce03
commit
bd128bc301
1 changed files with 6 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||||
|
project('dependency factory') |
||||||
|
|
||||||
|
dep = dependency('gl', method: 'pkg-config', required: false) |
||||||
|
if dep.found() and dep.type_name() == 'pkgconfig' |
||||||
|
dep.get_pkgconfig_variable('prefix') |
||||||
|
endif |
Loading…
Reference in new issue