mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 09:11:58 -05:00
Version 2 of suppressing gtest warnings
This commit is contained in:
parent
52363d81c9
commit
dfb1bdd7e1
@ -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
|
||||
|
@ -11,4 +11,5 @@ ExternalProject_Add(googletest
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND ""
|
||||
TEST_COMMAND ""
|
||||
CMAKE_ARGS -Wno-dev
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user