diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-12-16 23:26:13 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-12-16 23:26:13 +0200 |
commit | ec63d64a6799894a5eeb075acf6f2267f387aa61 (patch) | |
tree | 27444d10e7afe21bd28765b93fec9242ba303887 | |
parent | Merge pull request #2873 (diff) | |
parent | fixed linking against libreadline on OpenBSD (diff) | |
download | monero-ec63d64a6799894a5eeb075acf6f2267f387aa61.tar.xz |
Merge pull request #2874
25f4ab81 fixed linking against libreadline on OpenBSD (ston1th)
-rw-r--r-- | cmake/FindReadline.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/FindReadline.cmake b/cmake/FindReadline.cmake index 5a8aa7b0a..cdce0bfca 100644 --- a/cmake/FindReadline.cmake +++ b/cmake/FindReadline.cmake @@ -68,3 +68,7 @@ main() if(NOT Readline_LIBRARY) set(Readline_LIBRARY "") endif() + +if(Readline_LIBRARY AND OPENBSD) + list(APPEND EXTRA_LIBRARIES curses) +endif() |