Necessary changes to get latest branch working on OpenBSD 5.6

This commit is contained in:
Bryan Everly
2015-04-21 14:42:06 -04:00
parent b029e78ae7
commit 8c75127a67
13 changed files with 49 additions and 14 deletions

View File

@@ -9,7 +9,11 @@ IF(UNIX)
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
SET(OSS_HDR_NAME "sys/soundcard.h")
ELSE(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
SET(OSS_HDR_NAME "machine/soundcard.h")
IF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
SET(OSS_HDR_NAME "soundcard.h")
ELSE(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
SET(OSS_HDR_NAME "machine/soundcard.h")
ENDIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
ENDIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
ENDIF(UNIX)