Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Sat, 16 Jul 2011 14:14:00 +0000
branchstable-2.0
changeset 1172 1a5ccd9dc5a0
parent 1170 fa699ec12d17
child 1175 e55bbdb69dfd
Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc. (transplanted from e4ca84e1d289ef5d6774d2680d10013fb835bcdc)
CMakeLists.txt
--- a/CMakeLists.txt	Sat Jul 09 23:11:56 2011 -0700
+++ b/CMakeLists.txt	Sat Jul 16 14:14:00 2011 +0000
@@ -21,6 +21,11 @@
     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 @@
 ENDIF(PHYSFS_BUILD_TEST)
 
 # end of CMakeLists.txt ...
-