Update OpenAL-soft to 1.23.1-bc7cb17.

This commit is contained in:
Miku AuahDark
2024-03-20 11:06:03 +08:00
parent 4a512be715
commit 73a6fc9196
294 changed files with 44342 additions and 40077 deletions
+24
View File
@@ -0,0 +1,24 @@
add_executable(OpenAL_Tests)
include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG main
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
target_link_libraries(OpenAL_Tests PRIVATE
OpenAL
GTest::gtest_main
)
target_sources(OpenAL_Tests PRIVATE
example.t.cpp
)
# This needs to come last
include(GoogleTest)
gtest_discover_tests(OpenAL_Tests)