aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/openal.cmake
blob: c598e1d5ca7cc40971b181b73638c896766e002b (plain) (blame)
1
2
3
4
5
6
7
add_library(external_openal INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_openal ALIAS external_openal)

find_package(OpenAL REQUIRED)

target_include_directories(external_openal SYSTEM INTERFACE ${OPENAL_INCLUDE_DIR})
target_link_libraries(external_openal INTERFACE ${OPENAL_LIBRARY})