From 8cd359f5174780b84a6382c43d8061dcb71f29b9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 16 Jul 2011 14:14:00 +0000 Subject: [PATCH] Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc. (transplanted from e4ca84e1d289ef5d6774d2680d10013fb835bcdc) --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee87c95..970af8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ... -