Skip to content

Commit

Permalink
fix compiling rtaudio on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 13, 2023
1 parent 80946f7 commit f901ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rtaudio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else()
target_link_libraries(mltrtaudio PRIVATE "-framework CoreAudio" "-framework CoreFoundation")
target_compile_definitions(mltrtaudio PRIVATE __MACOSX_CORE__)
elseif(WIN32)
target_link_libraries(mltrtaudio PRIVATE ole32 dsound winmm ksuser)
target_link_libraries(mltrtaudio PRIVATE ole32 dsound winmm ksuser mfplat mfuuid wmcodecdspuuid)
target_compile_definitions(mltrtaudio PRIVATE __WINDOWS_DS__ __WINDOWS_WASAPI__)
else()
if(TARGET PkgConfig::alsa)
Expand Down

0 comments on commit f901ede

Please sign in to comment.