mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 17:02:26 +00:00
Do not build against epee_readline if it was not built
This commit is contained in:
parent
178014c995
commit
0d9c0db996
4 changed files with 4 additions and 3 deletions
|
@ -689,6 +689,7 @@ if(USE_READLINE)
|
||||||
add_definitions(-DHAVE_READLINE)
|
add_definitions(-DHAVE_READLINE)
|
||||||
include_directories(${Readline_INCLUDE_DIR})
|
include_directories(${Readline_INCLUDE_DIR})
|
||||||
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
|
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
|
||||||
|
set(EPEE_READLINE epee_readline)
|
||||||
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")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -95,7 +95,7 @@ target_link_libraries(daemon
|
||||||
serialization
|
serialization
|
||||||
daemon_rpc_server
|
daemon_rpc_server
|
||||||
epee
|
epee
|
||||||
epee_readline
|
${EPEE_READLINE}
|
||||||
version
|
version
|
||||||
${Boost_CHRONO_LIBRARY}
|
${Boost_CHRONO_LIBRARY}
|
||||||
${Boost_FILESYSTEM_LIBRARY}
|
${Boost_FILESYSTEM_LIBRARY}
|
||||||
|
|
|
@ -49,7 +49,7 @@ target_link_libraries(simplewallet
|
||||||
common
|
common
|
||||||
mnemonics
|
mnemonics
|
||||||
epee
|
epee
|
||||||
epee_readline
|
${EPEE_READLINE}
|
||||||
version
|
version
|
||||||
${Boost_CHRONO_LIBRARY}
|
${Boost_CHRONO_LIBRARY}
|
||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
|
|
|
@ -108,7 +108,7 @@ if (NOT BUILD_GUI_DEPS)
|
||||||
PRIVATE
|
PRIVATE
|
||||||
wallet
|
wallet
|
||||||
epee
|
epee
|
||||||
epee_readline
|
${EPEE_READLINE}
|
||||||
rpc
|
rpc
|
||||||
cryptonote_core
|
cryptonote_core
|
||||||
cncrypto
|
cncrypto
|
||||||
|
|
Loading…
Reference in a new issue