[WINED3D] Fix build with lower optimization levels
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 15 Oct 2020 09:36:01 +0000 (11:36 +0200)
committerJérôme Gardou <jerome.gardou@reactos.org>
Thu, 15 Oct 2020 09:36:01 +0000 (11:36 +0200)
dll/directx/wine/wined3d/CMakeLists.txt

index e00033e..ea4f460 100644 (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()