Skip to content

Commit

Permalink
Fix build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jul 15, 2024
1 parent a9e3093 commit c8c2f63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ use std::path::PathBuf;
fn main() {
if cfg!(target_os = "windows") {
download_prebuilt();
} else {
}

#[cfg(not(target_os = "windows"))]
{
let mut config = cmake::Config::new(".");
config
.define("BUILD_SHARED_LIBS", "OFF")
Expand Down

0 comments on commit c8c2f63

Please sign in to comment.