Fix strict warnings on Windows
[blender-staging.git] / extern / gtest / CMakeLists.txt
index b5e40027513e920d1a591d05a3e8bc1a51372365..21b296f93dfef18777ed4d99864b84680c27c396 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
+# avoid noisy warnings
+if(CMAKE_COMPILER_IS_GNUCC)
+       remove_cc_flag(
+               "-Wmissing-declarations"
+       )
+endif()
+
 set(INC
        .
        include
@@ -39,6 +46,7 @@ set(SRC
        src/gtest-test-part.cc
        src/gtest-typed-test.cc
 
+       src/gtest-internal-inl.h
        include/gtest/gtest-death-test.h
        include/gtest/gtest.h
        include/gtest/gtest-message.h