build(windows): suppress STL1011 для <experimental/coroutine> в inappwebview
This commit is contained in:
@@ -32,6 +32,11 @@ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
# Use Unicode for all projects.
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
# Newer MSVC toolchains (VS 2022 17.13+/VS 18) turn the deprecated
|
||||
# <experimental/coroutine> header used by flutter_inappwebview_windows into a
|
||||
# hard error (STL1011). Suppress it project-wide so plugins keep building.
|
||||
add_compile_definitions(_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS)
|
||||
|
||||
# Compilation settings that should be applied to most targets.
|
||||
#
|
||||
# Be cautious about adding new options here, as plugins use this function by
|
||||
|
||||
Reference in New Issue
Block a user