Fix building w/ OpenAL on OpenBSD

- Explicitly disable Solaris backend on OpenBSD
- Update OpenAL to v1.25.1
This commit is contained in:
OpenSauce04 authored and OpenSauce committed 2026-04-26 12:52:32 +01:00
1 parent eee7f076ee
commit 5d84dfed91
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -414,6 +414,9 @@ if (ENABLE_OPENAL)
find_package(OpenAL REQUIRED)
target_link_libraries(OpenAL INTERFACE OpenAL::OpenAL)
else()
if (BSD STREQUAL "OpenBSD")
set(ALSOFT_BACKEND_SOLARIS OFF CACHE BOOL "")
endif()
set(ALSOFT_EMBED_HRTF_DATA OFF CACHE BOOL "")
set(ALSOFT_EXAMPLES OFF CACHE BOOL "")
set(ALSOFT_INSTALL OFF CACHE BOOL "")