Fix build on Linux

This commit is contained in:
Jeffrey Pfau 2014-10-19 01:17:04 -07:00
parent 894cc3783b
commit e956ad3f2f
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ if(BUILD_BBB OR BUILD_RASPI)
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
list(APPEND OS_LIB bsd)
endif()
# Features
set(DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/debugger.c ${CMAKE_SOURCE_DIR}/src/debugger/memory-debugger.c)