Explorar o código

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

Ryan C. Gordon %!s(int64=14) %!d(string=hai) anos
pai
achega
4075482826
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      CMakeLists.txt

+ 5 - 0
CMakeLists.txt

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