* Allow warnings for all source files here.
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 11 Dec 2012 11:04:27 +0000 (11:04 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 11 Dec 2012 11:04:27 +0000 (11:04 +0000)
svn path=/trunk/; revision=57875

reactos/dll/win32/xmllite/CMakeLists.txt

index 1726e42..cc6e7f3 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
     #allow_warnings(xmllite)
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
     #allow_warnings(xmllite)
-    set_source_files_properties(reader.c PROPERTIES COMPILE_FLAGS "-Wno-error")
+    set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
 endif()
 
 add_library(xmllite SHARED ${SOURCE})
 endif()
 
 add_library(xmllite SHARED ${SOURCE})