diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 07:33:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 07:34:52 +0300 |
commit | cd7853be2277320e9c1a7209d95c7778ae0408de (patch) | |
tree | b2b2a1d38cc8a27d028da2ae58c88e66df2aee2e /extern/gtest | |
parent | 4e8092e2e45d462789db382aa4dd8208e2552629 (diff) |
CMake: quiet warnings in GTest
Diffstat (limited to 'extern/gtest')
-rw-r--r-- | extern/gtest/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/gtest/CMakeLists.txt b/extern/gtest/CMakeLists.txt index 86f2aaa314a..21b296f93df 100644 --- a/extern/gtest/CMakeLists.txt +++ b/extern/gtest/CMakeLists.txt @@ -21,6 +21,13 @@ # # ***** END GPL LICENSE BLOCK ***** +# avoid noisy warnings +if(CMAKE_COMPILER_IS_GNUCC) + remove_cc_flag( + "-Wmissing-declarations" + ) +endif() + set(INC . include |