We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a93a28 commit daa7335Copy full SHA for daa7335
1 file changed
windows/CMakeLists.txt
@@ -56,6 +56,20 @@ add_subdirectory("runner")
56
# them to the application.
57
include(flutter/generated_plugins.cmake)
58
59
+# VS 18 rejects C++/WinRT's C++17 coroutine fallback in these plugins. The
60
+# released plugin sources are not C++20-clean, so scope the compatibility define
61
+# to the affected targets instead of changing their language mode.
62
+foreach(TARGET
63
+ flutter_inappwebview_windows_plugin
64
+ flutter_local_notifications_windows
65
+)
66
+ if(TARGET ${TARGET})
67
+ target_compile_definitions(${TARGET} PRIVATE
68
+ _SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS
69
+ )
70
+ endif()
71
+endforeach()
72
+
73
74
# === Installation ===
75
# Support files are copied into place next to the executable, so that it can
0 commit comments