steam-audio
steam-audio copied to clipboard
Don't link delayimp on UWP because it doesn't exist there
delayimp.lib
does not exist on UWP, but SteamAudio always tries to link it on Windows platforms. This PR prevents SteamAudio from linking delayimp.lib
on UWP. SteamAudio still works on UWP without it.
Did you need to make any other changes in order to build for UWP? I tried building your branch for UWP and it didn't seem to work.
What error did you get when trying to build UWP?
I got the following error:
error MSB8024: Using static version of the C++ runtime library is not supported.
Which can be fixed by removing the /MT
flag set in the root CMakeLists.txt, but it would also require all dependencies to be built without static linking to the CRT, which would involve changing the dependency building scripts as well.
Which can be fixed by removing the /MT flag set in the root CMakeLists.txt
I checked my copy and found that I also did that. My project builds SteamAudio's dependencies as part of the cmake build tree. Maybe an option could be added to disable adding the /MT
flag?