diff options
| author | bucurb <bobuc@microsoft.com> | 2021-07-01 17:10:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-01 09:10:50 -0700 |
| commit | 59e3243c9911d1f736ac39c17a77a92fa2b9cddc (patch) | |
| tree | 6cea1280ccbc20ece4f6987cf33cfe06aee4d0e1 /ports | |
| parent | 9e104306a7d0775602310bb1b1873fbafca3468d (diff) | |
| download | vcpkg-59e3243c9911d1f736ac39c17a77a92fa2b9cddc.tar.gz vcpkg-59e3243c9911d1f736ac39c17a77a92fa2b9cddc.zip | |
[protobuf] Fixed protoc path (#18741)
* fixed protoc path
* bumped version
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/protobuf/vcpkg-cmake-wrapper.cmake | 2 | ||||
| -rw-r--r-- | ports/protobuf/vcpkg.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/protobuf/vcpkg-cmake-wrapper.cmake b/ports/protobuf/vcpkg-cmake-wrapper.cmake index 542a16c2b..7269aedcc 100644 --- a/ports/protobuf/vcpkg-cmake-wrapper.cmake +++ b/ports/protobuf/vcpkg-cmake-wrapper.cmake @@ -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}/../../../@HOST_TRIPLET@/tools/protobuf" NO_DEFAULT_PATH)
+find_program(Protobuf_PROTOC_EXECUTABLE NAMES protoc PATHS "${CMAKE_CURRENT_LIST_DIR}/../../tools/protobuf" NO_DEFAULT_PATH)
_find_package(${ARGS})
diff --git a/ports/protobuf/vcpkg.json b/ports/protobuf/vcpkg.json index 5f1926a08..0e85e376c 100644 --- a/ports/protobuf/vcpkg.json +++ b/ports/protobuf/vcpkg.json @@ -1,7 +1,7 @@ { "name": "protobuf", "version-semver": "3.15.8", - "port-version": 2, + "port-version": 3, "description": "Protocol Buffers - Google's data interchange format", "homepage": "https://github.com/protocolbuffers/protobuf", "dependencies": [ |
