Skip to content

Commit d5ef68f

Browse files
committed
Use Cpp explicitly for Windows
1 parent 813c14d commit d5ef68f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fn main() {
4242
cfg.compile("libnfd.a");
4343
println!("cargo:rustc-link-lib=framework=AppKit");
4444
} else if env.contains("windows") {
45+
cfg.cpp(true);
4546
cfg.file(nfd!("nfd_win.cpp"));
4647
cfg.compile("libnfd.a");
4748
println!("cargo:rustc-link-lib=ole32");

0 commit comments

Comments
 (0)