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

@@ -764,7 +764,7 @@ ACLOCAL_PATH share/aclocal
LD_LIBRARY_PATH lib, lib64
LIBRARY_PATH lib, lib64
CPATH include
PKG_CONFIG_PATH lib/pkgconfig, lib64/pkgconfig
PKG_CONFIG_PATH lib/pkgconfig, lib64/pkgconfig, share/pkgconfig
CMAKE_PREFIX_PATH .
=================== =========