Browse Source

Merge topic 'FindPkgConfig-pkgconf'

90a49647e9 FindPkgConfig: Restore finding pkg-config before pkgconf

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6780
Brad King 3 năm trước cách đây
mục cha
commit
6627cc23b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Modules/FindPkgConfig.cmake

+ 1 - 1
Modules/FindPkgConfig.cmake

@@ -57,7 +57,7 @@ set(PKG_CONFIG_NAMES "pkg-config")
 if(CMAKE_HOST_WIN32)
   list(PREPEND PKG_CONFIG_NAMES "pkg-config.bat")
 endif()
-list(PREPEND PKG_CONFIG_NAMES "pkgconf")
+list(APPEND PKG_CONFIG_NAMES "pkgconf")
 
 find_program(PKG_CONFIG_EXECUTABLE
   NAMES ${PKG_CONFIG_NAMES}