mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 04:51:26 +12:00
Some checks failed
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Mac Intel (push) Waiting to run
Build RPCS3 / RPCS3 Mac Apple Silicon (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run
Build RPCS3 / RPCS3 Windows Clang (push) Waiting to run
Generate Translation Template / Generate Translation Template (push) Failing after 1m14s
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Has been skipped
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Has been skipped
Build RPCS3 / RPCS3 FreeBSD (push) Has been skipped
18 lines
644 B
CMake
18 lines
644 B
CMake
# OpenAL
|
|
if(USE_SYSTEM_OPENAL)
|
|
if(WIN32)
|
|
find_package(OpenAL CONFIG REQUIRED)
|
|
else()
|
|
find_package(OpenAL REQUIRED)
|
|
endif()
|
|
add_library(3rdparty_openal INTERFACE)
|
|
target_link_libraries(3rdparty_openal INTERFACE OpenAL::OpenAL)
|
|
set_target_properties(OpenAL::OpenAL PROPERTIES IMPORTED_GLOBAL ON)
|
|
else()
|
|
option(ALSOFT_UTILS "Build utility programs" OFF)
|
|
option(ALSOFT_EXAMPLES "Build example programs" OFF)
|
|
set(LIBTYPE "STATIC")
|
|
add_subdirectory(openal-soft EXCLUDE_FROM_ALL)
|
|
add_library(3rdparty_openal INTERFACE)
|
|
target_link_libraries(3rdparty_openal INTERFACE OpenAL::OpenAL)
|
|
endif()
|