Fix build on Linux
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Oct 2014 01:17:04 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -102,6 +102,10 @@ add_definitions(-DCOLOR_16_BIT -DCOLOR_5_6_5)
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)