From 37effc3e136c73afd4d6ba37d23a91766795d0f7 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 29 Sep 2016 17:23:22 +0200 Subject: This changset triggered a storm of changes. Added the behaviour for receiving a public_share message from our previous node when not being the first node ourselves. This triggered the whitespace bug below, which sparked the network rewrite. Rewrote network protocol to first send the size of the message it's sending in a 32bit integer in network byte order. Fixed a bug where whitespace in the received buffer would be skipped. leading to broken protobuf messages. NextNode no longers inherits from client but owns one, and some functions needed to be forwarded. --- CMakeModules/gmpConfig.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeModules/gmpConfig.cmake (limited to 'CMakeModules') diff --git a/CMakeModules/gmpConfig.cmake b/CMakeModules/gmpConfig.cmake new file mode 100644 index 0000000..a6e6682 --- /dev/null +++ b/CMakeModules/gmpConfig.cmake @@ -0,0 +1,13 @@ +add_library(gmp UNKNOWN IMPORTED) +find_library(gmp_LIBRARY NAMES "gmp") +set_property(TARGET gmp PROPERTY IMPORTED_LOCATION "${gmp_LIBRARY}") + +add_library(gmpxx UNKNOWN IMPORTED) +find_library(gmpxx_LIBRARY NAMES "gmpxx") +set_property(TARGET gmpxx PROPERTY IMPORTED_LOCATION "${gmpxx_LIBRARY}") + +find_path(gmp_INCLUDE_DIR NAMES "gmp.h") +set_property(TARGET gmp PROPERTY INCLUDE_DIRECTORIES ${gmp_INCLUDE_DIR}) + +find_path(gmpxx_INCLUDE_DIR NAMES "gmpxx.h") +set_property(TARGET gmpxx PROPERTY INCLUDE_DIRECTORIES ${gmpxx_INCLUDE_DIR}) -- cgit v1.2.3-70-g09d2