diff options
author | Brad King <brad.king@kitware.com> | 2021-12-03 13:53:08 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-12-03 13:53:25 (GMT) |
commit | d565f9f0ee849e541036d26dc1bd69e6ce908d84 (patch) | |
tree | 3eec1cdb231dea5e06824ce0ceac72b466124f79 | |
parent | eeaf1e10cb5f736692136cb31c4ffbb717599917 (diff) | |
parent | 90a49647e963f09badd2b58384b1df38788c1de3 (diff) | |
download | CMake-d565f9f0ee849e541036d26dc1bd69e6ce908d84.zip CMake-d565f9f0ee849e541036d26dc1bd69e6ce908d84.tar.gz CMake-d565f9f0ee849e541036d26dc1bd69e6ce908d84.tar.bz2 |
Merge topic 'FindPkgConfig-pkgconf' into release-3.22
90a49647e9 FindPkgConfig: Restore finding pkg-config before pkgconf
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6780
-rw-r--r-- | Modules/FindPkgConfig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index ef43a3a..547bc52 100644 --- a/Modules/FindPkgConfig.cmake +++ b/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} |