Ignore VS warning about the cppformat library

This commit is contained in:
Daniel Wolf 2025-02-17 16:45:50 +01:00
parent 39a4ddb233
commit 2bbadb8796
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
# Assume UTF-8 encoding for source files and encode string constants in UTF-8
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8")
# Ignore warnings we can't fix right now
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING")
endif()
# Use UTF-8 throughout