mirror of
https://github.com/debauchee/barrier.git
synced 2025-04-30 02:37:09 +02:00
cmake: Silence tr1 deprecation warning on MSVC
This commit is contained in:
parent
f9c051fc82
commit
cb0480fe84
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
||||||
add_definitions (
|
add_definitions (
|
||||||
/DSYSAPI_WIN32=1
|
/DSYSAPI_WIN32=1
|
||||||
/DWINAPI_MSWINDOWS=1
|
/DWINAPI_MSWINDOWS=1
|
||||||
|
/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING=1 # tr1 is used from gtest and gmock
|
||||||
/DWIN32
|
/DWIN32
|
||||||
/D_WINDOWS
|
/D_WINDOWS
|
||||||
/D_CRT_SECURE_NO_WARNINGS
|
/D_CRT_SECURE_NO_WARNINGS
|
||||||
|
|
Loading…
Add table
Reference in a new issue