mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
Download pkgconfig for protobuf in download mode (#13263)
* Download pkgconfig for protobuf in download mode * Bump version of protobuf * Update ports/protobuf/CONTROL Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
abda2ddcb4
commit
95f6e7d0c7
@ -1,5 +1,6 @@
|
||||
Source: protobuf
|
||||
Version: 3.13.0
|
||||
Port-Version: 1
|
||||
Homepage: https://github.com/protocolbuffers/protobuf
|
||||
Description: Protocol Buffers - Google's data interchange format
|
||||
|
||||
|
@ -38,6 +38,11 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
zlib protobuf_WITH_ZLIB
|
||||
)
|
||||
|
||||
if (VCPKG_DOWNLOAD_MODE)
|
||||
# download PKGCONFIG in download mode which is used in `vcpkg_fixup_pkgconfig()` at the end of this script.
|
||||
# download it here because `vcpkg_configure_cmake()` halts execution in download mode when running configure process.
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}/cmake
|
||||
|
Loading…
x
Reference in New Issue
Block a user