From 97e4e7a28c3953916c2f02cb6b50bc72914961ca Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 1 Feb 2014 20:48:00 -0800 Subject: [PATCH] Add define for GDB stub --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed7dfc465..19b24a760 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ else() endif() if(USE_GDB_STUB) + add_definitions(-DUSE_GDB_STUB) set(DEBUGGER_SRC "${DEBUGGER_SRC};${CMAKE_SOURCE_DIR}/src/debugger/gdb-stub.c") endif() source_group("ARM debugger" FILES ${DEBUGGER_SRC})