https://git.reactos.org/?p=reactos.git;a=commitdiff;h=68dcd87d38fbe90c9fc16a8b93509f170a3d2ae6
commit 68dcd87d38fbe90c9fc16a8b93509f170a3d2ae6 Author: Jérôme Gardou <jerome.gar...@reactos.org> AuthorDate: Thu Oct 15 11:36:01 2020 +0200 Commit: Jérôme Gardou <jerome.gar...@reactos.org> CommitDate: Thu Oct 15 11:36:01 2020 +0200 [WINED3D] Fix build with lower optimization levels --- dll/directx/wine/wined3d/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dll/directx/wine/wined3d/CMakeLists.txt b/dll/directx/wine/wined3d/CMakeLists.txt index e00033ea397..ea4f46059a6 100644 --- a/dll/directx/wine/wined3d/CMakeLists.txt +++ b/dll/directx/wine/wined3d/CMakeLists.txt @@ -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()