Merge trunk up to revision 40611
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 96572f78da288019cbf0dce89cd12ed2c3e60e7a..461574297424cd3c3f22cb20842260f52e775d93 100644 (file)
@@ -373,8 +373,9 @@ if(WITH_LIBMV)
        add_definitions(-DWITH_LIBMV)
 endif()
 
-if(MSVC)
-       set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
-endif()
+## Warnings as errors, this is too strict!
+#if(MSVC)
+#      set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
+#endif()
 
 blender_add_lib(bf_blenkernel "${SRC}" "${INC}" "${INC_SYS}")