Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
Upgrade to v0.31 of Hedera protobufs (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Walworth <[email protected]>
  • Loading branch information
rwalworth authored Jan 24, 2023
1 parent d746a3f commit 5b2aa96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions BuildOpenSSL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ include(ExternalProject)
set(OPENSSL_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/_deps/openssl-src) # default path by CMake
set(OPENSSL_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/openssl)
set(OPENSSL_INCLUDE_DIR ${OPENSSL_INSTALL_DIR}/include)
set(OPENSSL_CONFIGURE_COMMAND ${OPENSSL_SOURCE_DIR}/Configure no-shared)

if (WIN32)
set(OPENSSL_CONFIGURE_COMMAND perl ${OPENSSL_SOURCE_DIR}/Configure VC-WIN64A)
set(OPENSSL_CONFIGURE_COMMAND perl ${OPENSSL_CONFIGURE_COMMAND})
set(OPENSSL_BUILD_COMMAND nmake /S)
set(OPENSSL_INSTALL_COMMAND nmake install /S)
set(OPENSSL_INSTALL_COMMAND nmake install_sw /S)
set(OPENSSL_LIBRARY_EXTENSION .lib)
else ()
set(OPENSSL_CONFIGURE_COMMAND ${OPENSSL_SOURCE_DIR}/Configure)
set(OPENSSL_BUILD_COMMAND make)
set(OPENSSL_INSTALL_COMMAND make install)
set(OPENSSL_LIBRARY_EXTENSION .a)
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ find_package(re2 CONFIG REQUIRED)
find_package(c-ares CONFIG REQUIRED)
find_package(absl CONFIG REQUIRED)

set(HAPI_VERSION_TAG "v0.30.0" CACHE STRING "Use the configured version tag for the Hedera API protobufs")
set(HAPI_VERSION_TAG "v0.31.0" CACHE STRING "Use the configured version tag for the Hedera API protobufs")

if (HAPI_VERSION_TAG STREQUAL "")
set(HAPI_VERSION_TAG "v0.30.0")
set(HAPI_VERSION_TAG "v0.31.0")
endif ()

# Fetch the protobuf definitions
Expand Down

0 comments on commit 5b2aa96

Please sign in to comment.