mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
18c01f7151
* Fixed compilation with cmake on Windows * cleanup on post build actions for Windows on cmake solution + minor cleanup * fix link error on IntelJITEvents
14 lines
520 B
CMake
14 lines
520 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()
|