2018-05-17 08:09:19 +08:00
|
|
|
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
2019-10-04 00:42:01 +08:00
|
|
|
index f87b0928e..5102a10e3 100644
|
2018-05-17 08:09:19 +08:00
|
|
|
--- a/cmake/CMakeLists.txt
|
|
|
|
+++ b/cmake/CMakeLists.txt
|
2019-10-04 00:42:01 +08:00
|
|
|
@@ -190,6 +190,7 @@ if (MSVC)
|
2018-05-17 08:09:19 +08:00
|
|
|
/wd4506 # no definition for inline function 'function'
|
|
|
|
/wd4800 # 'type' : forcing value to bool 'true' or 'false' (performance warning)
|
|
|
|
/wd4996 # The compiler encountered a deprecated declaration.
|
|
|
|
+ /wd4703 # Potentially uninitialized local pointer variable 'name' used.
|
|
|
|
)
|
|
|
|
# Allow big object
|
|
|
|
add_definitions(/bigobj)
|