/WX enabled for MSVC in CMake too.
[blender.git] / intern / ghost / CMakeLists.txt
index 559d160cba205b181c957a233a4ed104617ce0c0..cd3bbd00b9fa4c120b0f79a4a0b151b1ef07ca3b 100644 (file)
@@ -69,6 +69,7 @@ IF(APPLE)
                ADD_DEFINITIONS(-DWITH_QUICKTIME)
        ENDIF(WITH_QUICKTIME)
 ELSEIF(WIN32)
+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
        LIST(APPEND INC ${WINTAB_INC})
 
        LIST(APPEND SRC