summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-07 13:33:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-07 13:33:42 (GMT)
commitd49b507bb6fb798bdab3edc738af80495efa979f (patch)
tree7148e3cb52677e602296039f97bf99428bf79d14
parent900617f977d35556de1d2b7e8fb0e7db750aac63 (diff)
parent94a84dc0af227e574e2a9950cf2c830e2f57218f (diff)
downloadCMake-d49b507bb6fb798bdab3edc738af80495efa979f.zip
CMake-d49b507bb6fb798bdab3edc738af80495efa979f.tar.gz
CMake-d49b507bb6fb798bdab3edc738af80495efa979f.tar.bz2
Merge topic 'FindPkgConfig-pkgconf'
94a84dc0af FindPkgConfig: add pkgconf to the search list. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6301
-rw-r--r--Modules/FindPkgConfig.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index bd54fd9..d39bbd0 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -46,6 +46,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")
find_program(PKG_CONFIG_EXECUTABLE
NAMES ${PKG_CONFIG_NAMES}