Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix Auth Windows local_auth build

Manav Rathia6717100c849
diff --git a/mobile/apps/auth/windows/CMakeLists.txt b/mobile/apps/auth/windows/CMakeLists.txt
index 46c3159727..6117de40d0 100644
--- a/mobile/apps/auth/windows/CMakeLists.txt
+++ b/mobile/apps/auth/windows/CMakeLists.txt
@@ -57,6 +57,11 @@ add_subdirectory("runner")
# them to the application.
include(flutter/generated_plugins.cmake)
+# local_auth_windows 2.0.1 still passes /await, which MSVC 14.51 rejects via
+# STL1011 unless this deprecation warning is silenced.
+target_compile_definitions(local_auth_windows_plugin PRIVATE
+ _SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS)
+
# === Installation ===
# Support files are copied into place next to the executable, so that it can