mirror of https://github.com/mgba-emu/mgba.git
Disable CLI debugger on Windows
This commit is contained in:
parent
5b7da978d1
commit
47ca4201fd
|
@ -42,7 +42,8 @@ endif()
|
|||
|
||||
set(DEBUGGER_SRC "${CMAKE_SOURCE_DIR}/src/debugger/debugger.c;${CMAKE_SOURCE_DIR}/src/debugger/memory-debugger.c")
|
||||
|
||||
if(USE_CLI_DEBUGGER)
|
||||
if(USE_CLI_DEBUGGER AND NOT WIN32)
|
||||
# Win32 doesn't have a usable command line, nor libedit, so this is useless on Windows
|
||||
add_definitions(-DUSE_CLI_DEBUGGER)
|
||||
set(DEBUGGER_SRC "${DEBUGGER_SRC};${CMAKE_SOURCE_DIR}/src/debugger/cli-debugger.c")
|
||||
set(DEBUGGER_LIB "edit")
|
||||
|
|
Loading…
Reference in New Issue