rebased for CI
@@ -9,11 +9,6 @@ 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>> {
let err_pkg_config;
@@ -33,6 +28,12 @@ fn main() -> std::io::Result<()> {
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()
