소스 검색

Merge topic 'FindPkgConfig-share-dir'

36d87e18 FindPkgConfig: add PREFIX/share/pkgconfig to PKG_CONFIG_PATH (#15910)
Brad King 9 년 전
부모
커밋
5774f389cd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Modules/FindPkgConfig.cmake

+ 1 - 0
Modules/FindPkgConfig.cmake

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