summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-03 13:53:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-12-03 13:53:26 (GMT)
commit6627cc23b42c42f0b660e60186aa0a47628b14da (patch)
treeb0709d91ba49d11d24b7903d6dc7f96f281f0ee8 /Modules
parent824a6836be43c61dd8ba1625426f718a73eeaefb (diff)
parent90a49647e963f09badd2b58384b1df38788c1de3 (diff)
downloadCMake-6627cc23b42c42f0b660e60186aa0a47628b14da.zip
CMake-6627cc23b42c42f0b660e60186aa0a47628b14da.tar.gz
CMake-6627cc23b42c42f0b660e60186aa0a47628b14da.tar.bz2
Merge topic 'FindPkgConfig-pkgconf'
90a49647e9 FindPkgConfig: Restore finding pkg-config before pkgconf Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6780
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPkgConfig.cmake2
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}