build: add OpenAL dependency

This commit is contained in:
2026-07-06 11:49:13 +08:00
parent 8a4081cf9c
commit 92029a12a6
3 changed files with 5 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ target_link_libraries(${PROJECT_NAME}
absl::strings
absl::flat_hash_map
zstd::zstd
OpenAL::OpenAL
$<$<PLATFORM_ID:Windows>:ws2_32>
)

View File

@@ -5,6 +5,7 @@ find_package(OpenGL REQUIRED)
find_package(Protobuf REQUIRED)
find_package(absl REQUIRED)
find_package(zstd REQUIRED)
find_package(OpenAL REQUIRED)
if (UNIX AND NOT APPLE)
find_package(Freetype REQUIRED)
find_package(glfw3 REQUIRED)

View File

@@ -1,7 +1,8 @@
{
"dependencies": [
"protobuf",
"zstd"
"zstd",
"openal-soft"
],
"builtin-baseline": "a0400024711b283056538ac19ced80b91a83c24c"
}