Skip to content

Commit

Permalink
Fix warning about MSVC deprecated debug iterators
Browse files Browse the repository at this point in the history
  • Loading branch information
oktal3700 committed Nov 15, 2023
1 parent 97dcd30 commit 09b6282
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ if(MSVC)

# Workaround C1128 error
add_compile_options(/bigobj)

# Debug iterators used by Qt 5
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
endif()

if(UNIX AND NOT APPLE)
Expand Down

0 comments on commit 09b6282

Please sign in to comment.