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>2019-06-29 18:42:49 +0300
committerRay Molenkamp <github@lazydodo.com>2019-06-29 18:42:49 +0300
commit3994084e6a33a32b111188b91c28440181405f1d (patch)
tree0a78d2aeb073c1cd828c5b64df16696328702aa4 /build_files/cmake/macros.cmake
parente981d93fa66c42e4efcc6f97aac9ba98f1398aef (diff)
Cleanup: Fix build warnings with MSVC
gflags emits a few unused variable warnings since the main CMakeLists.txt raised the warning from w4 down to w3. This restores it back to w4 in the remove_strict_flags macro.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r--build_files/cmake/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index e781186ca74..c2f608de921 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -713,7 +713,7 @@ macro(remove_strict_flags)
endif()
if(MSVC)
- # TODO
+ remove_cc_flag(/w34189) # Restore warn C4189 (unused variable) back to w4
endif()
endmacro()