mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
rebased for CI
This commit is contained in:
parent
f10cecf803
commit
5354ba8b04
@ -9,13 +9,8 @@ const DEFINES: &[(&str, Option<&str>)] = &[
|
||||
("IMGUI_DISABLE_OSX_FUNCTIONS", None),
|
||||
];
|
||||
|
||||
// Output define args for compiler
|
||||
fn main() -> std::io::Result<()> {
|
||||
// Root of imgui-sys
|
||||
let manifest_dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));
|
||||
|
||||
#[cfg(feature = "freetype")]
|
||||
fn find_freetype() -> Vec<impl AsRef<std::path::Path>> {
|
||||
#[cfg(feature = "freetype")]
|
||||
fn find_freetype() -> Vec<impl AsRef<std::path::Path>> {
|
||||
let err_pkg_config;
|
||||
let err_vcpkg;
|
||||
match pkg_config::Config::new().find("freetype2") {
|
||||
@ -32,7 +27,13 @@ fn main() -> std::io::Result<()> {
|
||||
- vcpkg failed with: {}",
|
||||
err_pkg_config, err_vcpkg
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Output define args for compiler
|
||||
fn main() -> std::io::Result<()> {
|
||||
// Root of imgui-sys
|
||||
let manifest_dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));
|
||||
|
||||
println!(
|
||||
"cargo:THIRD_PARTY={}",
|
||||
manifest_dir.join("third-party").display()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user