mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01: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)
|
if(READLINE_FOUND AND GNU_READLINE_FOUND)
|
||||||
add_definitions(-DHAVE_READLINE)
|
add_definitions(-DHAVE_READLINE)
|
||||||
include_directories(${Readline_INCLUDE_DIR})
|
include_directories(${Readline_INCLUDE_DIR})
|
||||||
list(APPEND EXTRA_LIBRARIES ${Readline_LIBRARY})
|
|
||||||
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
|
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
|
||||||
else()
|
else()
|
||||||
message(STATUS "Could not find GNU readline library so building without readline support")
|
message(STATUS "Could not find GNU readline library so building without readline support")
|
||||||
|
@ -102,6 +102,7 @@ target_link_libraries(daemon
|
|||||||
${Boost_SYSTEM_LIBRARY}
|
${Boost_SYSTEM_LIBRARY}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
${ZMQ_LIB}
|
${ZMQ_LIB}
|
||||||
|
${Readline_LIBRARY}
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
set_property(TARGET daemon
|
set_property(TARGET daemon
|
||||||
PROPERTY
|
PROPERTY
|
||||||
|
@ -53,6 +53,7 @@ target_link_libraries(simplewallet
|
|||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
${Boost_FILESYSTEM_LIBRARY}
|
${Boost_FILESYSTEM_LIBRARY}
|
||||||
${Boost_THREAD_LIBRARY}
|
${Boost_THREAD_LIBRARY}
|
||||||
|
${Readline_LIBRARY}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
set_property(TARGET simplewallet
|
set_property(TARGET simplewallet
|
||||||
|
Loading…
Reference in New Issue
Block a user