Untested Haiku port?

This commit is contained in:
Ethan Lee
2020-01-13 23:31:14 -05:00
parent 17585c4602
commit 6a0ee21082
4 changed files with 198 additions and 5 deletions

View File

@@ -111,6 +111,7 @@ SET(PFS_SRC
../third_party/physfs/physfs_platform_posix.c
../third_party/physfs/physfs_platform_unix.c
../third_party/physfs/physfs_platform_windows.c
../third_party/physfs/physfs_platform_haiku.cpp
)
IF(APPLE)
# Are you noticing a pattern with this Apple crap yet?
@@ -171,3 +172,9 @@ IF(APPLE)
FIND_LIBRARY(IOKIT NAMES IOKit)
TARGET_LINK_LIBRARIES(VVVVVV objc ${IOKIT} ${FOUNDATION})
ENDIF()
# But hey, also some Haiku crap
IF(HAIKU)
FIND_LIBRARY(BE_LIBRARY be)
FIND_LIBRARY(ROOT_LIBRARY root)
TARGET_LINK_LIBRARIES(VVVVVV ${BE_LIBRARY} ${ROOT_LIBRARY})
ENDIF()