[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 4 Sep 2011 21:52:37 +0000 (21:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 4 Sep 2011 21:52:37 +0000 (21:52 +0000)
* Properly use add_target_compile_flags.

svn path=/trunk/; revision=53594

reactos/cmake/gcc.cmake

index 7aba16e..d134b37 100644 (file)
@@ -360,5 +360,5 @@ function(CreateBootSectorTarget2 _target_name _asm_file _binary_file _base_addre
 endfunction()
 
 function(allow_warnings __module)
-    add_target_compile_flags(${__module} -Wno-error)
+    add_target_compile_flags(${__module} "-Wno-error")
 endfunction()