mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
11 lines
274 B
Rust
11 lines
274 B
Rust
|
|
fn main() {
|
||
|
|
println!("cargo:rustc-check-cfg=cfg(have_libinput_plugin_system)");
|
||
|
|
if pkg_config::Config::new()
|
||
|
|
.atleast_version("1.30.0")
|
||
|
|
.probe("libinput")
|
||
|
|
.is_ok()
|
||
|
|
{
|
||
|
|
println!("cargo:rustc-cfg=have_libinput_plugin_system")
|
||
|
|
}
|
||
|
|
}
|