cmake: fix building when readline is not found

pull/95/head
moneromooo-monero 7 years ago
parent dc6a8014bd
commit 36f0538a0a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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