Do not build against epee_readline if it was not built

This commit is contained in:
Howard Chu
2017-10-29 14:51:51 +00:00
committed by moneromooo-monero
parent 178014c995
commit 0d9c0db996
4 changed files with 4 additions and 3 deletions

View File

@@ -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()