diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-19 09:27:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-19 09:27:26 +0000 |
commit | 36f0538a0a91e86807379f68b7fb638ad93d4395 (patch) | |
tree | 48a1ef7469aeb3976aca855836c2e9a126fbe435 /cmake/FindReadline.cmake | |
parent | Merge pull request #2818 (diff) | |
download | monero-36f0538a0a91e86807379f68b7fb638ad93d4395.tar.xz |
cmake: fix building when readline is not found
Diffstat (limited to '')
-rw-r--r-- | cmake/FindReadline.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/FindReadline.cmake b/cmake/FindReadline.cmake index 9ccef7ad8..5a8aa7b0a 100644 --- a/cmake/FindReadline.cmake +++ b/cmake/FindReadline.cmake @@ -64,3 +64,7 @@ main() char * s = rl_copy_text(0, 0); } " GNU_READLINE_FOUND) + +if(NOT Readline_LIBRARY) + set(Readline_LIBRARY "") +endif() |