all repos — mgba @ e956ad3f2ff0ead5e1739de55cbc8e9b43e54b9c

mGBA Game Boy Advance Emulator

Fix build on Linux
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Oct 2014 01:17:04 -0700
commit

e956ad3f2ff0ead5e1739de55cbc8e9b43e54b9c

parent

894cc3783b542813fa7db99276db451df6603b06

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.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)