We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f53a8 commit 4632778Copy full SHA for 4632778
CMakeLists.txt
@@ -98,8 +98,8 @@ endif()
98
99
if (MSVC)
100
add_definitions("/wd4267 /wd4244 /wd4305 /Zc:strictStrings /utf-8")
101
- # TODO(taku): Update protobuf to deprecate C++17 std::is_pod
102
- add_compile_definitions(_SILENCE_CXX20_IS_POD_DEPRECATION_WARNING)
+ # TODO(taku): Update protobuf to deprecate C++17
+ add_compile_definitions(_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS)
103
if (SPM_ENABLE_MSVC_MT_BUILD)
104
string(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
105
string(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_MINSIZEREL})
0 commit comments