Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 16 Jul 2011 14:14:00 +0000
changeset 1171 e4ca84e1d289
parent 1169 ceda1aef5617
child 1173 77b2df665bd1
Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc.
CMakeLists.txt
--- a/CMakeLists.txt	Sat Jul 09 23:11:17 2011 -0700
+++ b/CMakeLists.txt	Sat Jul 16 14:14:00 2011 +0000
@@ -26,6 +26,11 @@
     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")