mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Suppress msvc warnings in gmock
This commit is contained in:
parent
322736d3bb
commit
e3b69efbe1
@ -32,6 +32,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||||||
target_compile_definitions(gmock PUBLIC GTEST_USE_OWN_TR1_TUPLE=1)
|
target_compile_definitions(gmock PUBLIC GTEST_USE_OWN_TR1_TUPLE=1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
# Silence MSVC tr1 deprecation warning in gmock.
|
||||||
|
target_compile_definitions(gmock
|
||||||
|
PUBLIC _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING=0)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# Build the actual library tests
|
# Build the actual library tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user