[MESA] Fix mesa_swrast VS 2015 build.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 5 Sep 2015 14:32:44 +0000 (14:32 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 5 Sep 2015 14:32:44 +0000 (14:32 +0000)
svn path=/trunk/; revision=69028

reactos/dll/opengl/mesa/swrast/CMakeLists.txt

index 06ad4dd..a0ac9d3 100644 (file)
@@ -31,7 +31,7 @@ add_library(mesa_swrast STATIC ${SOURCE})
 add_pch(mesa_swrast precomp.h SOURCE)
 
 if(MSVC)
-       add_target_compile_flags(mesa_swrast "/wd4189")
+    replace_compile_flags("/we4189" " ")
 else()
     add_target_compile_flags(mesa_swrast "-Wno-unused-variable")
 endif()