All: Fix OpenBSD build with CLI debugger
Jeffrey Pfau jeffrey@endrift.com
Tue, 17 Mar 2015 22:16:57 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -100,6 +100,9 @@ # Feature dependencies
set(FEATURES) if(CMAKE_SYSTEM_NAME MATCHES .*BSD) set(LIBEDIT_LIBRARIES -ledit) + if (CMAKE_SYSTEM_NAME STREQUAL OpenBSD) + list(APPEND LIBEDIT_LIBRARIES -ltermcap) + endif() else() find_feature(USE_CLI_DEBUGGER "libedit") endif()