mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
DolphinQt: don't propagate warnings in the header to Dolphin when building with Visual Studio through CMake
This commit is contained in:
parent
d74a1068b8
commit
05b1566e3f
@ -350,10 +350,11 @@ if (WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Disable some warnings
|
# Don't propogate warnings in qt headers to Dolphin
|
||||||
|
target_compile_options(dolphin-emu PRIVATE /experimental:external)
|
||||||
# 5054: operator '+': deprecated between enumerations of different types (in Qt headers)
|
target_compile_options(dolphin-emu PRIVATE /external:W0)
|
||||||
target_compile_options(dolphin-emu PRIVATE /wd5054)
|
target_compile_options(dolphin-emu PRIVATE "/external:I${Qt5Gui_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
target_compile_options(dolphin-emu PRIVATE "/external:I${Qt5Widgets_PRIVATE_INCLUDE_DIRS}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user