cue-sys 2.0.1

Bindings for the libcue library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use cmake::Config;

fn main() {
    println!("cargo:rerun-if-changed=build.rs");

    let dst = Config::new("vendor/libcue")
        .define("BUILD_SHARED_LIBS", "OFF")
        .define("CMAKE_POLICY_VERSION_MINIMUM", "3.5")
        .build();
    println!(
        "cargo:rustc-link-search=native={}",
        dst.join("lib").display()
    );
}