Fix strict warnings on Windows
[blender-staging.git] / extern / gtest / CMakeLists.txt
index 86f2aaa314a15c9da7d712ef28e61dc686b7eba1..21b296f93dfef18777ed4d99864b84680c27c396 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
+# avoid noisy warnings
+if(CMAKE_COMPILER_IS_GNUCC)
+       remove_cc_flag(
+               "-Wmissing-declarations"
+       )
+endif()
+
 set(INC
        .
        include