[XMLLITE_WINETEST]: Sync with Wine 1.5.19.
[reactos.git] / rostests / winetests / xmllite / CMakeLists.txt
index ad6442c..b5f534b 100644 (file)
@@ -3,12 +3,17 @@ add_definitions(-D__ROS_LONG64__)
 
 list(APPEND SOURCE
     reader.c
-       writer.c
-       testlist.c)
+    writer.c
+    testlist.c)
+
+if(NOT MSVC)
+    # FIXME: http://www.cmake.org/Bug/view.php?id=12998
+    #allow_warnings(xmllite_winetest)
+    set_source_files_properties(reader.c PROPERTIES COMPILE_FLAGS "-Wno-error")
+endif()
 
 add_executable(xmllite_winetest ${SOURCE})
 target_link_libraries(xmllite_winetest wine uuid)
-
 set_module_type(xmllite_winetest win32cui)
 add_importlibs(xmllite_winetest xmllite ole32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET xmllite_winetest DESTINATION reactos/bin FOR all)