Commit: e41abdb9076f351acb01bf73900e821334850b06
Author: Campbell Barton
Date:   Mon Jul 11 15:27:48 2016 +1000
Branches: master
https://developer.blender.org/rBe41abdb9076f351acb01bf73900e821334850b06

CMake: suppressing indentation warning for extern

===================================================================

M       extern/CMakeLists.txt

===================================================================

diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
index 58e0c68..b046e96 100644
--- a/extern/CMakeLists.txt
+++ b/extern/CMakeLists.txt
@@ -29,6 +29,14 @@ add_subdirectory(curve_fit_nd)
 # Otherwise we get warnings here that we cant fix in external projects
 remove_strict_flags()
 
+# Not a strict flag, but noisy for code we don't maintain
+if(CMAKE_COMPILER_IS_GNUCC)
+       remove_cc_flag(
+               "-Wmisleading-indentation"
+       )
+endif()
+
+
 add_subdirectory(rangetree)
 add_subdirectory(wcwidth)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to