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

This commit is contained in:
Ryan C. Gordon 2011-07-16 14:14:00 +00:00
parent f94d227945
commit 4075482826
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ IF (CMAKE_SYSTEM MATCHES OS2)
SET(OS2 TRUE)
ENDIF (CMAKE_SYSTEM MATCHES OS2)
# 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)
IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
SET(SOLARIS TRUE)
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")