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

View File

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