Merge pull request #2841

36f0538a cmake: fix building when readline is not found (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-11-27 22:43:45 +02:00
commit c97bb7455f
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -64,3 +64,7 @@ main()
char * s = rl_copy_text(0, 0); char * s = rl_copy_text(0, 0);
} }
" GNU_READLINE_FOUND) " GNU_READLINE_FOUND)
if(NOT Readline_LIBRARY)
set(Readline_LIBRARY "")
endif()