diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2016-01-12 14:48:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-12 18:42:17 (GMT) |
commit | 36d87e18a1ffe4d4f23fbd1bb4ba77c9bc10c099 (patch) | |
tree | 6137209a673770af10ec6046173233c193191f7e /Help/guide/tutorial | |
parent | b5009720d3020021f189570d72c099963795a5c5 (diff) | |
download | CMake-36d87e18a1ffe4d4f23fbd1bb4ba77c9bc10c099.zip CMake-36d87e18a1ffe4d4f23fbd1bb4ba77c9bc10c099.tar.gz CMake-36d87e18a1ffe4d4f23fbd1bb4ba77c9bc10c099.tar.bz2 |
FindPkgConfig: add PREFIX/share/pkgconfig to PKG_CONFIG_PATH (#15910)
Most packages install their .pc files into PREFIX/lib/pkgconfig, but
some put them into PREFIX/share/pkgconfig. Either is valid, and
pkg-config itself looks in both for the /usr and /usr/local prefixes.
This fixes an issue where some packages (yajl, for example) are not
found if they are installed into a non-standard prefix and
CMAKE_PREFIX_PATH is used to locate them.
Diffstat (limited to 'Help/guide/tutorial')
0 files changed, 0 insertions, 0 deletions