Consistently support pkg-config files in share subdirectory (#12838)

While the build environment already takes share/pkgconfig into account,
the generated module files etc. only consider lib/pkgconfig and
lib64/pkgconfig.
This commit is contained in:
Michael Kuhn
2019-10-06 04:03:35 +02:00
committed by Adam J. Stewart
parent c6b8d79ea6
commit bdb92f2d91
6 changed files with 9 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ modules:
- PKG_CONFIG_PATH
lib64/pkgconfig:
- PKG_CONFIG_PATH
share/pkgconfig:
- PKG_CONFIG_PATH
'':
- CMAKE_PREFIX_PATH