Skip to content

Commit

Permalink
SKALE-811-fix-OSx-build
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jun 5, 2019
1 parent 018ecf5 commit 204bbc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ ENDIF()
include_directories(${BLS_WITH_SECP256K1_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
link_directories(${BLS_WITH_SECP256K1_LIBRARY_DIR})

set(WITH_PROCPS OFF)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(WITH_PROCPS OFF)
endif()

IF ((DEFINED BLS_WITH_FF_INCLUDE_DIR) AND (DEFINED BLS_WITH_FF_LIBRARY_DIR))
add_dependencies(bls libff)
ELSE()
Expand Down
2 changes: 1 addition & 1 deletion threshold_encryption/unit_tests_te.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(SimpleEncryption) {

std::vector<std::pair<encryption::element_wrapper, size_t>> shares;
encryption::element_wrapper ev( decrypted );
shares.push_back(std::make_pair(ev, size_t(0)));
shares.push_back(std::make_pair(ev, size_t(1)));

std::string res = te_instance.CombineShares(ciphertext, shares);

Expand Down

0 comments on commit 204bbc5

Please sign in to comment.