Merge pull request #4951 from waddlesplash/haiku-2

Initial support for Haiku.
This commit is contained in:
Matthew Parlane
2017-03-28 17:19:35 +13:00
committed by GitHub
17 changed files with 236 additions and 15 deletions

View File

@ -95,6 +95,9 @@ if(WIN32)
set(SRCS ${SRCS} GL/GLInterface/WGL.cpp)
elseif(APPLE)
set(SRCS ${SRCS} GL/GLInterface/AGL.mm)
elseif(HAIKU)
set(SRCS ${SRCS} GL/GLInterface/BGL.cpp)
set(LIBS ${LIBS} be GL)
elseif(USE_X11)
if (NOT USE_EGL)
set(SRCS ${SRCS} GL/GLInterface/GLX.cpp)
@ -115,4 +118,7 @@ add_dolphin_library(common "${SRCS}" "${LIBS}")
if(UNIX)
# Posix networking code needs to be fixed for Windows
add_executable(traversal_server TraversalServer.cpp)
if(HAIKU)
target_link_libraries(traversal_server network)
endif()
endif()