Fix libedit in CMakeLists

This commit is contained in:
Jeffrey Pfau 2014-10-08 03:49:48 -07:00
parent 0890d21645
commit dda454c9a2
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ if(USE_CLI_DEBUGGER)
add_definitions(-DUSE_CLI_DEBUGGER)
list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/cli-debugger.c)
list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/parser.c)
set(DEBUGGER_LIB ${EDIT_LIBRARIES})
include_directories(AFTER ${LIBEDIT_INCLUDE_DIRS})
link_directories(${LIBEDIT_LIBRARY_DIRS})
set(DEBUGGER_LIB ${LIBEDIT_LIBRARIES})
else()
set(DEBUGGER_LIB "")
endif()