mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
HaikuOS port (#97)
* ExternalFileLevelStorageSource: add workaround for d_type on Haiku * raknet: FileList: do not include io.h on Haiku * raknet: SocketLayer: add sockio.h for Haiku * cmake: link -lnetwork on Haiku * readme: add Haiku build dependencies * cmake: use link_libraries instead of add_link_options * ExternalFileLevelStorageSource: use scary stdstring instead of char
This commit is contained in:
@@ -20,6 +20,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_options(-Wno-inconsistent-missing-override -Wno-enum-compare-switch -Wno-register)
|
||||
endif()
|
||||
|
||||
# Network library
|
||||
if(HAIKU)
|
||||
link_libraries(network)
|
||||
endif()
|
||||
|
||||
# Threads
|
||||
if(EMSCRIPTEN)
|
||||
add_compile_and_link_options(-pthread)
|
||||
|
||||
Reference in New Issue
Block a user