projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
/WX enabled for MSVC in CMake too.
[blender.git]
/
source
/
blender
/
blenkernel
/
CMakeLists.txt
diff --git
a/source/blender/blenkernel/CMakeLists.txt
b/source/blender/blenkernel/CMakeLists.txt
index 1b6411e4f64acbcd436cd524357c3cb18c24ccb6..f6c8febd955b1ec7ad925b86d719fc2f1587ef3a 100644
(file)
--- a/
source/blender/blenkernel/CMakeLists.txt
+++ b/
source/blender/blenkernel/CMakeLists.txt
@@
-130,6
+130,7
@@
IF(WITH_LZMA)
ENDIF(WITH_LZMA)
IF(WIN32)
ENDIF(WITH_LZMA)
IF(WIN32)
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
LIST(APPEND INC ${PTHREADS_INC})
ENDIF(WIN32)
LIST(APPEND INC ${PTHREADS_INC})
ENDIF(WIN32)