From ddac0ebb31b205ec24573aba6729bfb3db928bd8 Mon Sep 17 00:00:00 2001 From: administrator Date: Thu, 20 Nov 2014 03:28:25 -0800 Subject: [PATCH] now also builds correctly on OS X --- extdep/cryptopp.cmake | 1 + libweb3jsonrpc/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/extdep/cryptopp.cmake b/extdep/cryptopp.cmake index 3a1513e29..abb035c11 100644 --- a/extdep/cryptopp.cmake +++ b/extdep/cryptopp.cmake @@ -1,5 +1,6 @@ # CryptoPP does not have good cross-platform support, there exist several different other projects to make it work ... +# TODO the OS X build throws a lot of warnings, but compiles fine if(APPLE) ExternalProject_Add(cryptopp URL https://downloads.sourceforge.net/project/cryptopp/cryptopp/5.6.2/cryptopp562.zip diff --git a/libweb3jsonrpc/CMakeLists.txt b/libweb3jsonrpc/CMakeLists.txt index 8d45bcfd9..7d0695b30 100644 --- a/libweb3jsonrpc/CMakeLists.txt +++ b/libweb3jsonrpc/CMakeLists.txt @@ -25,6 +25,7 @@ if(MINIUPNPC_LS) target_link_libraries(${EXECUTABLE} ${MINIUPNPC_LS}) endif() target_link_libraries(${EXECUTABLE} ${LEVELDB_LS}) +target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES}) target_link_libraries(${EXECUTABLE} ${JSON_RPC_CPP_LIBRARIES}) if(READLINE_LS) target_link_libraries(${EXECUTABLE} ${READLINE_LS})