Skip to content

Commit 72cc2e0

Browse files
authored
[native_assets_builder] add WINDIR and SYSTEMDRIVE to allowed env list (#2084)
1 parent 2d6128d commit 72cc2e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/native_assets_builder/lib/src/build_runner/build_runner.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,13 @@ ${e.message}
428428
'HOME', // Needed to find tools in default install locations.
429429
'PATH', // Needed to invoke native tools.
430430
'PROGRAMDATA', // Needed for vswhere.exe.
431+
'SYSTEMDRIVE', // Needed for CMake.
431432
'SYSTEMROOT', // Needed for process invocations on Windows.
432433
'TEMP', // Needed for temp dirs in Dart process.
433434
'TMP', // Needed for temp dirs in Dart process.
434435
'TMPDIR', // Needed for temp dirs in Dart process.
435436
'USER_PROFILE', // Needed to find tools in default install locations.
437+
'WINDIR', // Needed for CMake.
436438
};
437439

438440
Future<HookOutput?> _runHookForPackage(

0 commit comments

Comments
 (0)