[CMAKE] winetests/: Move '/wd4133' to gdiplus/ only

Addendum to 42d2d5e.
CORE-7538
This commit is contained in:
Serge Gautherie 2020-11-12 01:22:46 +01:00 committed by Victor Perevertkin
parent 3fa57b8ff7
commit 7d77ec28f7
2 changed files with 1 additions and 1 deletions

View file

@ -4,7 +4,6 @@ add_definitions(-D__ROS_LONG64__)
if(MSVC)
add_compile_options(
/wd4090 # C4090: 'function': different 'const' qualifiers
/wd4133 # C4133: 'function': incompatible types - from '<enum> *' to 'UINT *'
/wd4146 # C4146: unary minus operator applied to unsigned type, result still unsigned
/wd4189 # C4189: 'x': local variable is initialized but not referenced
/wd4267 # C4267: '=': conversion from 'size_t' to 'int', possible loss of data

View file

@ -32,4 +32,5 @@ add_rostests_file(TARGET gdiplus_winetest)
if(MSVC)
# error C4133: 'function': incompatible types - from 'ImageFlags *' to 'UINT *'
remove_target_compile_option(gdiplus_winetest "/we4133")
target_compile_options(gdiplus_winetest PRIVATE /wd4133)
endif()