[protobuf] Teach about crosscompile (#27089)

* [protobuf] Teach the cmake wrapper about cross-compiling.

* Update versions
This commit is contained in:
Ryan A. Pavlik 2022-10-08 23:21:44 -05:00 committed by GitHub
parent d04bb15e35
commit b0956f6170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -11,6 +11,6 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.3)
cmake_policy(POP) cmake_policy(POP)
endif() endif()
find_program(Protobuf_PROTOC_EXECUTABLE NAMES protoc PATHS "${CMAKE_CURRENT_LIST_DIR}/../../tools/protobuf" NO_DEFAULT_PATH) find_program(Protobuf_PROTOC_EXECUTABLE NAMES protoc PATHS "${CMAKE_CURRENT_LIST_DIR}/../../../@HOST_TRIPLET@/tools/protobuf" NO_DEFAULT_PATH)
_find_package(${ARGS}) _find_package(${ARGS})

View File

@ -1,6 +1,7 @@
{ {
"name": "protobuf", "name": "protobuf",
"version": "3.21.6", "version": "3.21.6",
"port-version": 1,
"description": "Protocol Buffers - Google's data interchange format", "description": "Protocol Buffers - Google's data interchange format",
"homepage": "https://github.com/protocolbuffers/protobuf", "homepage": "https://github.com/protocolbuffers/protobuf",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -5846,7 +5846,7 @@
}, },
"protobuf": { "protobuf": {
"baseline": "3.21.6", "baseline": "3.21.6",
"port-version": 0 "port-version": 1
}, },
"protobuf-c": { "protobuf-c": {
"baseline": "1.4.0", "baseline": "1.4.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "76da95f37a73965df86c5cfc317a2dfb677e0add",
"version": "3.21.6",
"port-version": 1
},
{ {
"git-tree": "1d2c32252e568decb813b1109f1d86e6023af6dd", "git-tree": "1d2c32252e568decb813b1109f1d86e6023af6dd",
"version": "3.21.6", "version": "3.21.6",