cmake: Disable warnings for most externals on MSVC, like we do in the VS project files.

This commit is contained in:
Admiral H. Curtiss 2022-05-21 15:09:05 +02:00
commit 6ea7af13e8
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
30 changed files with 56 additions and 0 deletions

View file

@ -31,6 +31,7 @@ if(WIN32)
add_definitions(-DDISCORD_WINDOWS)
set(BASE_RPC_SRC ${BASE_RPC_SRC} connection_win.cpp discord_register_win.cpp)
add_library(discord-rpc ${BASE_RPC_SRC})
dolphin_disable_warnings_msvc(discord-rpc)
if (MSVC)
if(USE_STATIC_CRT)
foreach(CompilerFlag