Skip to content

Commit 1f79122

Browse files
committed
Use forward slash for win path
1 parent 6f9d052 commit 1f79122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hdf5-conda/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const INC_PATH: &str = {
3838
if #[cfg(any(target_os = "linux", target_os = "macos"))] {
3939
"include"
4040
} else if #[cfg(target_os = "windows")] {
41-
"Library\\include"
41+
"Library/include"
4242
} else {
4343
compile_error!("This crate can not be used on this platform");
4444
}
@@ -62,7 +62,7 @@ const LIB_PATH: &str = {
6262
if #[cfg(any(target_os = "linux", target_os = "macos"))] {
6363
"lib"
6464
} else if #[cfg(target_os = "windows")] {
65-
"Library\\lib"
65+
"Library/lib"
6666
} else {
6767
compile_error!("This crate can not be used on this platform");
6868
}

0 commit comments

Comments
 (0)