link against readline only for monerod and wallet-wallet-{rpc,cli}

This commit is contained in:
moneromooo-monero
2017-10-28 19:20:21 +01:00
parent 437421ce42
commit a9e14a19dc
3 changed files with 2 additions and 1 deletions
-1
View File
@@ -688,7 +688,6 @@ if(USE_READLINE)
if(READLINE_FOUND AND GNU_READLINE_FOUND)
add_definitions(-DHAVE_READLINE)
include_directories(${Readline_INCLUDE_DIR})
list(APPEND EXTRA_LIBRARIES ${Readline_LIBRARY})
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
else()
message(STATUS "Could not find GNU readline library so building without readline support")