fix(modulo): change cc tool to infer correct msvc location on Windows Server 2022
This commit is contained in:
parent
880c7c0708
commit
51527500e7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user