diff options
author | Howard Chu <hyc@symas.com> | 2017-10-29 14:51:51 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-14 17:06:37 +0000 |
commit | 0d9c0db99679e9372a1cd8a97cfef76a18096ab6 (patch) | |
tree | 7f3c5330b240962ceb09fdb0986fffcb1220cad3 /CMakeLists.txt | |
parent | split off readline code into epee_readline (diff) | |
download | monero-0d9c0db99679e9372a1cd8a97cfef76a18096ab6.tar.xz |
Do not build against epee_readline if it was not built
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index df0b22895..72afd5212 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |