From bd128bc30116a60be956454e871d9ea59cc1590a Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 10 Jan 2018 17:41:03 +0000 Subject: [PATCH] Test case for GL pkgconfig dependency Test that the GL pkgconfig dependency is actually a pkgconfig dependency --- test cases/common/174 dependency factory/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test cases/common/174 dependency factory/meson.build diff --git a/test cases/common/174 dependency factory/meson.build b/test cases/common/174 dependency factory/meson.build new file mode 100644 index 000000000..2545741b1 --- /dev/null +++ b/test cases/common/174 dependency factory/meson.build @@ -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