vs2019 will compile cmake project, and there you add to your 3rd party directory CMakeLists.txt file something like:
# prevent visual studio reporting some warnings...
add_compile_options(/wd4996 /wd4305 /wd4101 /wd4244)