Merge topic 'FindPkgConfig-share-dir'

36d87e18 FindPkgConfig: add PREFIX/share/pkgconfig to PKG_CONFIG_PATH (#15910)
This commit is contained in:
Brad King 2016-01-13 09:33:15 -05:00 committed by CMake Topic Stage
commit 5774f389cd
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _no_cmake_path _no_cma
endif()
endif()
list(APPEND _lib_dirs "lib/pkgconfig")
list(APPEND _lib_dirs "share/pkgconfig")
# Check if directories exist and eventually append them to the
# pkgconfig path list