Skip to content

Commit

Permalink
Update Protobuf (ruslo#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaachier authored and ruslo committed Oct 20, 2017
1 parent a669715 commit fa9578c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ endif()
hunter_config(PNG VERSION 1.6.26-p1)
hunter_config(PocoCpp VERSION 1.7.9-p0)
hunter_config(PostgreSQL VERSION 9.6.3)
hunter_config(Protobuf VERSION 3.0.0-p1)
hunter_config(Protobuf VERSION 3.3.0)

string(COMPARE EQUAL "${CMAKE_SYSTEM_NAME}" "Linux" _is_linux)
if(_is_linux OR MINGW)
Expand Down
22 changes: 22 additions & 0 deletions cmake/projects/Protobuf/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ hunter_add_version(
f91766a391284b7ccd192fa36bc3f09449b3c202
)

hunter_add_version(
PACKAGE_NAME
Protobuf
VERSION
"3.1.0"
URL
"https://github.com/hunter-packages/protobuf/archive/v3.1.0-hunter-4.tar.gz"
SHA1
8f58f2cbe6d3fae61451a5e29b703686fe4bc9d6
)

hunter_add_version(
PACKAGE_NAME
Protobuf
VERSION
"3.3.0"
URL
"https://github.com/hunter-packages/protobuf/archive/v3.3.0-hunter-1.tar.gz"
SHA1
8815a6be8188b2d6c8002924e752018b64658748
)

if(ANDROID OR IOS)
hunter_cmake_args(
Protobuf
Expand Down

0 comments on commit fa9578c

Please sign in to comment.