Do not build against epee_readline if it was not built

pull/95/head
Howard Chu 7 years ago committed by moneromooo-monero
parent 178014c995
commit 0d9c0db996
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -689,6 +689,7 @@ if(USE_READLINE)
add_definitions(-DHAVE_READLINE)
include_directories(${Readline_INCLUDE_DIR})
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
set(EPEE_READLINE epee_readline)
else()
message(STATUS "Could not find GNU readline library so building without readline support")
endif()

@ -95,7 +95,7 @@ target_link_libraries(daemon
serialization
daemon_rpc_server
epee
epee_readline
${EPEE_READLINE}
version
${Boost_CHRONO_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}

@ -49,7 +49,7 @@ target_link_libraries(simplewallet
common
mnemonics
epee
epee_readline
${EPEE_READLINE}
version
${Boost_CHRONO_LIBRARY}
${Boost_PROGRAM_OPTIONS_LIBRARY}

@ -108,7 +108,7 @@ if (NOT BUILD_GUI_DEPS)
PRIVATE
wallet
epee
epee_readline
${EPEE_READLINE}
rpc
cryptonote_core
cncrypto

Loading…
Cancel
Save