From e29945735164d0a2595be24cd897a84b64160553 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Fri, 31 Jul 2020 18:20:56 +0200 Subject: [vcpkg_fixup_pkgconfig] Remove required in first find_program call for pkg-config (#12569) * Remove required in first find_program call * add usr/local/bin for mac * lets try without cellar and see if osx ci agrees --- scripts/cmake/vcpkg_fixup_pkgconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/cmake/vcpkg_fixup_pkgconfig.cmake b/scripts/cmake/vcpkg_fixup_pkgconfig.cmake index 6b840afe2..24302a6af 100644 --- a/scripts/cmake/vcpkg_fixup_pkgconfig.cmake +++ b/scripts/cmake/vcpkg_fixup_pkgconfig.cmake @@ -276,7 +276,7 @@ function(vcpkg_fixup_pkgconfig) endif() if(NOT PKGCONFIG) - find_program(PKGCONFIG pkg-config PATHS "bin" "/usr/bin" "/usr/local/Cellar/pkg-config/0.29.2_3" REQUIRED) + find_program(PKGCONFIG pkg-config PATHS "bin" "/usr/bin" "/usr/local/bin") if(NOT PKGCONFIG AND CMAKE_HOST_WIN32) vcpkg_acquire_msys(MSYS_ROOT PACKAGES pkg-config) find_program(PKGCONFIG pkg-config PATHS "${MSYS_ROOT}/usr/bin" REQUIRED) -- cgit v1.2.3