diff --git a/cmake/configs/default.cmake b/cmake/configs/default.cmake index 796a1ab7f9..b8a520de8d 100644 --- a/cmake/configs/default.cmake +++ b/cmake/configs/default.cmake @@ -111,7 +111,7 @@ hunter_default_version(PROJ4 VERSION 5.0.0) hunter_default_version(PhysUnits VERSION 1.1.0-p0) hunter_default_version(PocoCpp VERSION 1.7.9-p1) hunter_default_version(PostgreSQL VERSION 10.0.0) -hunter_default_version(Protobuf VERSION 3.7.1-p0) +hunter_default_version(Protobuf VERSION 3.10.0-p0) string(COMPARE EQUAL "${CMAKE_SYSTEM_NAME}" "Linux" _is_linux) if(_is_linux OR MINGW) diff --git a/cmake/projects/Protobuf/hunter.cmake b/cmake/projects/Protobuf/hunter.cmake index 27cd46675b..8c38f1781b 100644 --- a/cmake/projects/Protobuf/hunter.cmake +++ b/cmake/projects/Protobuf/hunter.cmake @@ -127,6 +127,17 @@ hunter_add_version( 6bfa8d5525039efdf63f40277b20d8d5852c89bf ) +hunter_add_version( + PACKAGE_NAME + Protobuf + VERSION + "3.10.0-p0" + URL + "https://github.com/cpp-pm/protobuf/archive/v3.10.0-p0.tar.gz" + SHA1 + 967cd20c627efb59240508e0a8688f462a9a4086 +) + string( COMPARE EQUAL "${CMAKE_SYSTEM_NAME}" "WindowsStore" _hunter_windows_store )