/WX enabled for MSVC in CMake too.
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 1b6411e4f64acbcd436cd524357c3cb18c24ccb6..f6c8febd955b1ec7ad925b86d719fc2f1587ef3a 100644 (file)
@@ -130,6 +130,7 @@ IF(WITH_LZMA)
 ENDIF(WITH_LZMA)
 
 IF(WIN32)
+    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)