diff options
author | Matthew Gregan <[email protected]> | 2019-04-10 11:20:01 +1200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2019-04-10 10:48:54 +0200 |
commit | 7b7210bf63714573782209fbb51a360f1384234e (patch) | |
tree | 0241bcf977630409419665931cf907dc33037dbb /CMakeLists.txt | |
parent | a4b68f3c8e68b65b778a3c6f71a8d65679ea830c (diff) | |
download | cubeb-7b7210bf63714573782209fbb51a360f1384234e.tar.gz cubeb-7b7210bf63714573782209fbb51a360f1384234e.zip |
Link ole32 in WASAPI backend for COM symbols.
Fixes build on aarch64. We must've been picking ole32 up implicitly on x86
platforms.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa33585..ea48923 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ if(USE_WASAPI) target_sources(cubeb PRIVATE src/cubeb_wasapi.cpp) target_compile_definitions(cubeb PRIVATE USE_WASAPI) - target_link_libraries(cubeb PRIVATE avrt) + target_link_libraries(cubeb PRIVATE avrt ole32) endif() check_include_files("windows.h;mmsystem.h" USE_WINMM) |