mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
12 lines
369 B
CMake
12 lines
369 B
CMake
# OpenAL
|
|
if (MSVC)
|
|
find_path(OPENAL_INCLUDE_DIR al.h PATHS OpenAL/include)
|
|
find_library(OPENAL_LIBRARY OpenAL32 PATHS OpenAL/libs/Win64/)
|
|
else()
|
|
find_package(OpenAL REQUIRED)
|
|
endif()
|
|
|
|
add_library(3rdparty_openal INTERFACE)
|
|
target_include_directories(3rdparty_openal INTERFACE ${OPENAL_INCLUDE_DIR})
|
|
target_link_libraries(3rdparty_openal INTERFACE ${OPENAL_LIBRARY})
|