From 51527500e7277cbefbfb66402465bcb944e8cb3a Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 6 Mar 2022 20:40:07 +0100 Subject: [PATCH] fix(modulo): change cc tool to infer correct msvc location on Windows Server 2022 --- espanso-modulo/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espanso-modulo/build.rs b/espanso-modulo/build.rs index f3f1a21..5c5570d 100644 --- a/espanso-modulo/build.rs +++ b/espanso-modulo/build.rs @@ -49,7 +49,7 @@ fn build_native() { .expect("unable to extract wxWidgets source dir"); // Compile wxWidgets - let tool = cc::windows_registry::find_tool("msvc", "msbuild") + let tool = cc::windows_registry::find_tool("msvc", "devenv") .expect("unable to locate MSVC compiler, did you install Visual Studio?"); let mut vcvars_path = None; let mut current_root = tool.path();