mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:39:01 +08:00
[protobuf] Teach about crosscompile (#27089)
* [protobuf] Teach the cmake wrapper about cross-compiling. * Update versions
This commit is contained in:
parent
d04bb15e35
commit
b0956f6170
@ -11,6 +11,6 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.3)
|
||||
cmake_policy(POP)
|
||||
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})
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "protobuf",
|
||||
"version": "3.21.6",
|
||||
"port-version": 1,
|
||||
"description": "Protocol Buffers - Google's data interchange format",
|
||||
"homepage": "https://github.com/protocolbuffers/protobuf",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -5846,7 +5846,7 @@
|
||||
},
|
||||
"protobuf": {
|
||||
"baseline": "3.21.6",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"protobuf-c": {
|
||||
"baseline": "1.4.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "76da95f37a73965df86c5cfc317a2dfb677e0add",
|
||||
"version": "3.21.6",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "1d2c32252e568decb813b1109f1d86e6023af6dd",
|
||||
"version": "3.21.6",
|
||||
|
Loading…
Reference in New Issue
Block a user