Version 2 of suppressing gtest warnings

This commit is contained in:
Dmitry Kobets 2021-11-30 11:36:14 -08:00
parent 52363d81c9
commit dfb1bdd7e1
2 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,7 @@ if(MSVC) # MSVC or simulating MSVC
>
)
else()
target_compile_options(gsl_tests_config PRIVATE
target_compile_options(gsl_tests_config INTERFACE
-fno-strict-aliasing
-Wall
-Wcast-align

View File

@ -11,4 +11,5 @@ ExternalProject_Add(googletest
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
CMAKE_ARGS -Wno-dev
)