Skip to content

Commit

Permalink
Also use c++17 on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Oct 4, 2023
1 parent 1fb6257 commit a3b4209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ impl SystemInfo {
.pic(true)
.warnings(false)
.includes(&self.libtorch_include_dirs)
.flag("-std=c++17")
.files(&c_files)
.compile("tch");
}
Expand Down

0 comments on commit a3b4209

Please sign in to comment.