Merge pull request #2874
25f4ab81
fixed linking against libreadline on OpenBSD (ston1th)
This commit is contained in:
commit
ec63d64a67
|
@ -68,3 +68,7 @@ main()
|
||||||
if(NOT Readline_LIBRARY)
|
if(NOT Readline_LIBRARY)
|
||||||
set(Readline_LIBRARY "")
|
set(Readline_LIBRARY "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(Readline_LIBRARY AND OPENBSD)
|
||||||
|
list(APPEND EXTRA_LIBRARIES curses)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue