[cmake] Fix warning in FindOSS.cmake

This commit is contained in:
Armin Novak 2024-04-05 11:40:37 +02:00 committed by akallabeth
parent 309509808c
commit 330fe90b21

View File

@ -9,7 +9,7 @@ IF(UNIX)
set(PLATFORM_PREFIX "sys/") set(PLATFORM_PREFIX "sys/")
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ELSEIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
set(PLATFORM_PREFIX "machine/") set(PLATFORM_PREFIX "machine/")
ENDIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ENDIF()
ENDIF(UNIX) ENDIF(UNIX)
set(OSS_HDR_NAME "${PLATFORM_PREFIX}soundcard.h" CACHE STRING "oss header include file name") set(OSS_HDR_NAME "${PLATFORM_PREFIX}soundcard.h" CACHE STRING "oss header include file name")