Skip to content

Commit

Permalink
chore: Fixed thirdparty integration after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges authored and henriqueaklein committed Jul 9, 2024
1 parent 1428279 commit 669bd96
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Testing
# Autogenerated Tooling
.build.Debug
cmake-build-*/
.cache

# Testing residuals
CRDT.Datastore.TEST.unit/
CRDT.Datastore.TEST/
CRDT.Datastore.TEST/
10 changes: 10 additions & 0 deletions build/CommonBuildParameters.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ set(GTest_INCLUDE_DIR "${_THIRDPARTY_BUILD_DIR}/GTest/include")
find_package(GTest CONFIG REQUIRED)
include_directories(${GTest_INCLUDE_DIR})

# absl
if(NOT DEFINED absl_DIR)
set(absl_DIR "${_THIRDPARTY_BUILD_DIR}/grpc/lib/cmake/absl")
endif()

# utf8_range
if(NOT DEFINED utf8_range_DIR)
set(utf8_range_DIR "${_THIRDPARTY_BUILD_DIR}/grpc/lib/cmake/utf8_range")
endif()

# --------------------------------------------------------
# Set config of protobuf project
if(NOT DEFINED Protobuf_DIR)
Expand Down
8 changes: 4 additions & 4 deletions src/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ add_library(ed25519_types
set_target_properties(ed25519_types PROPERTIES PUBLIC_HEADER "ed25519_types.hpp")
target_link_libraries(ed25519_types
blob
sgns::ed25519
)
iroha::ed25519
)
supergenius_install(ed25519_types)

add_library(vrf_provider
Expand Down Expand Up @@ -75,9 +75,9 @@ target_link_libraries(secp256k1_provider PUBLIC
PUBLIC OpenSSL::SSL
blob
buffer
secp256k1::secp256k1
libsecp256k1::secp256k1
scale
)
)
supergenius_install(
secp256k1_provider
)
Expand Down
3 changes: 1 addition & 2 deletions src/crypto/secp256k1/secp256k1_provider_impl.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "crypto/secp256k1/secp256k1_provider_impl.hpp"

#include <secp256k1_recovery.h>
#include "secp256k1_recovery.h"

namespace sgns::crypto {

Expand Down

0 comments on commit 669bd96

Please sign in to comment.