mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
Fix warning about MSVC deprecated debug iterators
This commit is contained in:
committed by
Lars Toenning
parent
a84e2582be
commit
dde127b524
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user