mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
cmake: fix building when readline is not found
This commit is contained in:
parent
dc6a8014bd
commit
36f0538a0a
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue