[WINED3D] Fix build with lower optimization levels

This commit is contained in:
Jérôme Gardou 2020-10-15 11:36:01 +02:00
parent 612b1f2e6e
commit 68dcd87d38

View file

@ -52,3 +52,7 @@ target_link_libraries(d3dwine wine)
add_importlibs(d3dwine user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_pch(d3dwine precomp.h SOURCE)
add_cd_file(TARGET d3dwine DESTINATION reactos/system32 FOR all)
if (NOT MSVC)
target_compile_options(d3dwine PRIVATE -Wno-format-overflow)
endif()