all repos — mgba @ dda454c9a2f099a0e7e0bd35944bc2a3c6c2cf93

mGBA Game Boy Advance Emulator

Fix libedit in CMakeLists
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Oct 2014 03:49:48 -0700
commit

dda454c9a2f099a0e7e0bd35944bc2a3c6c2cf93

parent

0890d21645117106a3a4d394b8dd2ae8288f2716

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -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()