downgrade warnings for googletest (#1203)

fixes #1202. sort of.
This commit is contained in:
Dominic Hamon 2021-07-19 12:11:13 +01:00 committed by GitHub
parent 9433793f3e
commit ab74ae5e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
include(${GOOGLETEST_PREFIX}/googletest-paths.cmake)
# TODO(dominic): See #1202. Remove if https://github.com/google/googletest/pull/3492 lands upstream.
add_compile_options(-w)
# Add googletest directly to our build. This defines
# the gtest and gtest_main targets.
add_subdirectory(${GOOGLETEST_SOURCE_DIR}