Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc.

(transplanted from e4ca84e1d289ef5d6774d2680d10013fb835bcdc)
This commit is contained in:
Ryan C. Gordon 2011-07-16 14:14:00 +00:00
parent cdcb169bcc
commit 8cd359f517
1 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,11 @@ IF(APPLE AND NOT MACOSX)
SET(MACOSX TRUE)
ENDIF(APPLE AND NOT MACOSX)
# For now, Haiku and BeOS are the same, as far as the build system cares.
IF(HAIKU AND NOT BEOS)
SET(BEOS TRUE)
ENDIF(HAIKU AND NOT BEOS)
INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckCSourceCompiles)
@ -401,4 +406,3 @@ IF(PHYSFS_BUILD_TEST)
ENDIF(PHYSFS_BUILD_TEST)
# end of CMakeLists.txt ...