From d9e084cbc77e5067e9879a129a5b034a39fa0de2 Mon Sep 17 00:00:00 2001 From: stoffu Date: Mon, 5 Mar 2018 21:58:18 +0900 Subject: [PATCH] build: readline is optional and shouldn't be relevant for the explorer mac build: link against framework PCSC --- CMakeLists.txt | 4 +--- cmake/FindMonero.cmake | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc6fb68..4ebb7fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,9 +116,7 @@ set(LIBRARIES easylogging checkpoints version - epee_readline epee - readline ${Boost_LIBRARIES} pthread unbound @@ -127,7 +125,7 @@ set(LIBRARIES ssl) if(APPLE) - set(LIBRARIES ${LIBRARIES} "-framework IOKit") + set(LIBRARIES ${LIBRARIES} "-framework IOKit -framework PCSC") else() set(LIBRARIES ${LIBRARIES} atomic) endif() diff --git a/cmake/FindMonero.cmake b/cmake/FindMonero.cmake index fed48ce..c635bcf 100644 --- a/cmake/FindMonero.cmake +++ b/cmake/FindMonero.cmake @@ -28,7 +28,7 @@ # (c) 2014-2016 cpp-ethereum contributors. #------------------------------------------------------------------------------ -set(LIBS common;blocks;cryptonote_basic;cryptonote_core;epee_readline; +set(LIBS common;blocks;cryptonote_basic;cryptonote_core; cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device; blockchain_db;ringct;wallet;cncrypto;easylogging;version;checkpoints)