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 7fd6873 commit 15c4a03Copy full SHA for 15c4a03
windows/CMakeLists.txt
@@ -51,6 +51,10 @@ add_library(${PLUGIN_NAME} SHARED
51
"util/string_converter.cc"
52
)
53
54
+if(MSVC)
55
+ target_compile_options(${PLUGIN_NAME} PRIVATE "/await")
56
+endif()
57
+
58
if(NOT FLUTTER_WEBVIEW_WINDOWS_USE_TEXTURE_FALLBACK)
59
message(STATUS "Building with D3D texture support.")
60
target_compile_definitions("${PLUGIN_NAME}" PRIVATE
@@ -67,7 +71,7 @@ else()
67
71
68
72
# Enable AVX2 for pixel buffer conversions
69
73
if(MSVC)
70
- target_compile_options(${PLUGIN_NAME} PRIVATE "/arch:AVX2")
74
+ target_compile_options(${PLUGIN_NAME} PRIVATE "/arch:AVX2" "/await")
75
endif()
76
77
0 commit comments