mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:28:14 +08:00
[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
This commit is contained in:
parent
2b8d5bad0a
commit
e299457351
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user