cmake: fix building when readline is not found

This commit is contained in:
moneromooo-monero
2017-11-19 09:27:26 +00:00
parent dc6a8014bd
commit 36f0538a0a

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()