File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11#------------------------------------------------------------------------------
22# Build the google test library
33
4- # We compile Google Test ourselves instead of using pre-compiled libraries.
4+ # Compile Google Test ourselves instead of using pre-compiled libraries.
55# See the Google Test FAQ "Why is it not recommended to install a
66# pre-compiled copy of Google Test (for example, into /usr/local)?"
77# at http://code.google.com/p/googletest/wiki/FAQ for more details.
@@ -19,14 +19,10 @@ else ()
1919endif ()
2020
2121if (MSVC )
22- # Disable MSVC warnings of _CRT_INSECURE_DEPRECATE functions.
22+ # Disable MSVC warnings about _CRT_INSECURE_DEPRECATE functions.
2323 target_compile_definitions (gtest PRIVATE _CRT_SECURE_NO_WARNINGS )
2424 if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
25- # Disable MSVC warnings of POSIX functions.
25+ # Disable MSVC warnings about POSIX functions.
2626 target_compile_options (gtest PUBLIC -Wno-deprecated-declarations )
2727 endif ()
2828endif ()
29-
30- # Silence MSVC tr1 deprecation warning in gmock.
31- target_compile_definitions (gtest
32- PUBLIC _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING=1 )
You can’t perform that action at this time.
0 commit comments