Parcourir la source

FindPkgConfig: add pkgconf to the search list.

Alexander Neumann il y a 4 ans
Parent
commit
94a84dc0af
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Modules/FindPkgConfig.cmake

+ 1 - 0
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}