mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
link against readline only for monerod and wallet-wallet-{rpc,cli}
This commit is contained in:
parent
437421ce42
commit
a9e14a19dc
@ -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")
|
||||
|
@ -102,6 +102,7 @@ target_link_libraries(daemon
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${ZMQ_LIB}
|
||||
${Readline_LIBRARY}
|
||||
${EXTRA_LIBRARIES})
|
||||
set_property(TARGET daemon
|
||||
PROPERTY
|
||||
|
@ -53,6 +53,7 @@ target_link_libraries(simplewallet
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_THREAD_LIBRARY}
|
||||
${Readline_LIBRARY}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${EXTRA_LIBRARIES})
|
||||
set_property(TARGET simplewallet
|
||||
|
Loading…
Reference in New Issue
Block a user