Skip to content

Commit 43969c5

Browse files
committed
Output hdf5 version in build script
1 parent daef5cc commit 43969c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hdf5-sys/build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,9 @@ impl Config {
604604
if feature_enabled("HL") {
605605
println!("cargo:hl_library=hdf5_hl");
606606
}
607+
608+
let version = self.header.version;
609+
println!("cargo:h5version={}.{}.{}", version.major, version.minor, version.micro);
607610
}
608611

609612
pub fn emit_cfg_flags(&self) {

0 commit comments

Comments
 (0)