mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
065a64371e
Signed-off-by: oltolm <oleg.tolmatcev@gmail.com>
14 lines
523 B
CMake
14 lines
523 B
CMake
# OpenAL
|
|
if(USE_SYSTEM_OPENAL)
|
|
find_package(OpenAL REQUIRED)
|
|
add_library(3rdparty_openal INTERFACE)
|
|
target_include_directories(3rdparty_openal INTERFACE ${OPENAL_INCLUDE_DIR})
|
|
target_link_libraries(3rdparty_openal INTERFACE ${OPENAL_LIBRARY})
|
|
else()
|
|
option(ALSOFT_UTILS "Build utility programs" OFF)
|
|
option(ALSOFT_EXAMPLES "Build example programs" OFF)
|
|
add_subdirectory(openal-soft EXCLUDE_FROM_ALL)
|
|
add_library(3rdparty_openal INTERFACE)
|
|
target_link_libraries(3rdparty_openal INTERFACE OpenAL::OpenAL)
|
|
endif()
|