Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-09-25 20:05:01 +0300
committerRay Molenkamp <github@lazydodo.com>2018-09-25 20:05:35 +0300
commitfcf3aa90daed0dde8c770857990f92c6601f8096 (patch)
tree391a3dfcaa3319216d3a10535341a71d9dc0c5b7 /CMakeLists.txt
parentd95a8988ea031a8d92a9e140b5a1dfcd6a5562da (diff)
CMake: Repress deprecation warnings with MSVC.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91a79af8141..c51558d6b08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1518,6 +1518,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
"/wd4305" # truncation from 'type1' to 'type2'
"/wd4800" # forcing value to bool 'true' or 'false'
"/wd4828" # The file contains a character that is illegal
+ "/wd4996" # identifier was declared deprecated
# errors:
"/we4013" # 'function' undefined; assuming extern returning int
"/we4133" # incompatible pointer types