File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,14 @@ fn main() {
356356 let vulkan_lib_path = Path :: new ( & vulkan_path) . join ( "Lib" ) ;
357357 println ! ( "cargo:rustc-link-search={}" , vulkan_lib_path. display( ) ) ;
358358 println ! ( "cargo:rustc-link-lib=vulkan-1" ) ;
359+
360+ // workaround for this error: "FileTracker : error FTK1011: could not create the new file tracking log file"
361+ // the issue is likely caused by nested cmake projects with ExternalProject_Add
362+ // and windows' FileTracker thingy not properly picking up the inherited dir config
363+ // ...either that, or it has to do with MSBuild FileTracker not respecting the path
364+ // limit configuration set in the windows registry. I'm not sure which, but this
365+ // makes my builds work.
366+ env:: set_var ( "TrackFileAccess" , "false" ) ;
359367 }
360368 TargetOs :: Linux => {
361369 println ! ( "cargo:rustc-link-lib=vulkan" ) ;
You can’t perform that action at this time.
0 commit comments