Merge pull request #2841

36f0538a cmake: fix building when readline is not found (moneromooo-monero)
release-v0.4.0.1
Riccardo Spagni 7 years ago
commit c97bb7455f
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

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

Loading…
Cancel
Save