Skip to content

Commit e302a77

Browse files
committed
fix(build): improve error message when cmake is not found
1 parent 3184f6f commit e302a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libbitcoinkernel-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242
.arg("-DENABLE_IPC=OFF")
4343
.arg(format!("-DCMAKE_INSTALL_PREFIX={}", install_dir.display()))
4444
.status()
45-
.unwrap();
45+
.expect("cmake should be installed and available in PATH");
4646

4747
let num_jobs = env::var("NUM_JOBS")
4848
.ok()

0 commit comments

Comments
 (0)