cmake: ignore external warnings in MSVC

Since we also treat all warnings as errors, we need to
ignore these to successfully build.
This commit is contained in:
Scott Mansell 2022-04-27 18:31:27 +12:00 committed by Admiral H. Curtiss
commit 2348017ee8
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
2 changed files with 5 additions and 4 deletions

View file

@ -382,9 +382,6 @@ if (WIN32)
endif()
if (MSVC)
# Don't propogate warnings in qt headers to Dolphin
target_compile_options(dolphin-emu PRIVATE /experimental:external)
target_compile_options(dolphin-emu PRIVATE /external:W0)
set(qtGui "")
set(qtGuiPriv "")
set(qtWidgetsPriv "")