We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8334026 commit 72f53a8Copy full SHA for 72f53a8
CMakeLists.txt
@@ -98,6 +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)
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