Fix building w/ OpenAL on OpenBSD

- Explicitly disable Solaris backend on OpenBSD
- Update OpenAL to v1.25.1
This commit is contained in:
OpenSauce04
2026-04-24 12:24:51 +01:00
committed by OpenSauce
parent eee7f076ee
commit 5d84dfed91
2 changed files with 4 additions and 1 deletions
+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 "")