Add support for being used as a meson subproject #237

Merged
dcbaker merged 2 commits from submit/meson-subproject-support into master 2021-12-01 15:17:07 +00:00

2 Commits (master)

Author SHA1 Message Date
Dylan Baker f6b28e85d6 meson: make use of override_dependency() if possible
This allows simplifying the subproject override to simply

```meson
dependency('libpkgconf')
```
2021-11-11 19:54:10 -08:00
Dylan Baker b5cfc75b58 meson: Add dependency for for libpkgconf
This allows others using libpkgconf as a dependency to do use this as a
subproject. They can write something like:

```meson
dependency('libpkgconf', fallback : ['libpkgconf', 'dep_libpkgconf'])
```

Then install a wrap file for libpkgconf and build it as part of their
project.
2021-11-11 18:35:54 -08:00