all repos — mgba @ 22021df3873d29021cda6d2de61ac56ca442b829

mGBA Game Boy Advance Emulator

All: Fix OpenBSD build with CLI debugger
Jeffrey Pfau jeffrey@endrift.com
Tue, 17 Mar 2015 22:16:57 -0700
commit

22021df3873d29021cda6d2de61ac56ca442b829

parent

fe0af2c563421d9a1750686683cc760bce572ef8

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.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()