diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-11 08:27:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-11 10:16:35 +0300 |
commit | e41abdb9076f351acb01bf73900e821334850b06 (patch) | |
tree | 499fffb35606932dc57bac93369f0bf510879bbc | |
parent | 47c47c7e78e132bf668ca9b6a63eefbda3f36ea8 (diff) |
CMake: suppressing indentation warning for extern
-rw-r--r-- | extern/CMakeLists.txt | 8 |
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) |