Fix warning about MSVC deprecated debug iterators

This commit is contained in:
Mat Sutcliffe
2023-11-15 20:58:44 +00:00
committed by Lars Toenning
parent a84e2582be
commit dde127b524

View File

@@ -99,6 +99,9 @@ if(MSVC)
# Workaround C1128 error # Workaround C1128 error
add_compile_options(/bigobj) add_compile_options(/bigobj)
# Debug iterators used by Qt 5
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
endif() endif()
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)