diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1d5c78697..80966bc34 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -49,6 +49,9 @@ target_compile_options(test_main PUBLIC # https://github.com/nlohmann/json/issues/1114 $<$:/bigobj> $<$:-Wa,-mbig-obj> + # https://github.com/nlohmann/json/pull/3229 + $<$:-diag-disable=2196> + $<$>:-Wno-deprecated;-Wno-float-equal> $<$:-Wno-deprecated-declarations> )