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:
authorCampbell Barton <ideasman42@gmail.com>2016-07-11 08:27:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-11 10:16:35 +0300
commite41abdb9076f351acb01bf73900e821334850b06 (patch)
tree499fffb35606932dc57bac93369f0bf510879bbc /extern/CMakeLists.txt
parent47c47c7e78e132bf668ca9b6a63eefbda3f36ea8 (diff)
CMake: suppressing indentation warning for extern
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r--extern/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
index 58e0c68148b..b046e9626b6 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)