diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-27 22:43:45 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-27 22:43:46 +0200 |
commit | c97bb7455fd2082b358cbe3f357fa8d861f8fc83 (patch) | |
tree | edacc9bece96caa01742c24fa717ff227f5eafe2 /cmake | |
parent | Merge pull request #2839 (diff) | |
parent | cmake: fix building when readline is not found (diff) | |
download | monero-c97bb7455fd2082b358cbe3f357fa8d861f8fc83.tar.xz |
Merge pull request #2841
36f0538a cmake: fix building when readline is not found (moneromooo-monero)
Diffstat (limited to 'cmake')
-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() |