obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.8k stars 701 forks source link

cmake: Ignore LNK4099 warning #1168

Closed RytoEX closed 10 months ago

RytoEX commented 10 months ago

Description

Despite building the PDBs for qrcodegencpp debug builds, we do not currently ship those PDBs, so MSVC emits an LNK4099 warning, which causes a build failure. It's unlikely that we'll need to debug in linked dependencies, so we can ignore this warning. Should we decide in the future to ship PDBs for these dependencies, the warning would no longer be emitted, and this flag would be superfluous without requiring a change. For now, let's make sure we can build in Debug.

Motivation and Context

Want to build OBS in Debug with obs-websocket enabled.

How Has This Been Tested?

Tested OS(s):

Types of changes

Checklist: