[UDFS] Remove /Gz flag from options on MSVC
[reactos.git] / modules / rostests / winetests / gdi32 / CMakeLists.txt
index 79cdf31..8931713 100644 (file)
@@ -15,10 +15,16 @@ list(APPEND SOURCE
     metafile.c
     palette.c
     path.c
-    pen.c
+    pen.c)
+
+list(APPEND PCH_SKIP_SOURCE
     testlist.c)
 
-add_executable(gdi32_winetest ${SOURCE} resource.rc)
+add_executable(gdi32_winetest
+    ${SOURCE}
+    ${PCH_SKIP_SOURCE}
+    resource.rc)
+
 set_module_type(gdi32_winetest win32cui)
 add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32)
 
@@ -26,4 +32,5 @@ if(MSVC)
     add_importlibs(gdi32_winetest ntdll)
 endif()
 
+add_pch(gdi32_winetest precomp.h "${PCH_SKIP_SOURCE}")
 add_rostests_file(TARGET gdi32_winetest)