espanso/build.rs

11 lines
285 B
Rust
Raw Normal View History

2019-08-30 12:33:40 +00:00
extern crate cmake;
use cmake::Config;
fn main()
{
let dst = Config::new("native/libwinbridge").build();
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=winbridge");
println!("cargo:rustc-link-lib=static=user32");
2019-08-30 12:33:40 +00:00
}