From 77e56328563458528cd29c766a7e82bbff523c51 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 7 Mar 2024 10:40:38 +1100 Subject: [PATCH] only build gtk resources if building gtk ui --- gui/build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/build.rs b/gui/build.rs index e19b7ec..b77a2e3 100644 --- a/gui/build.rs +++ b/gui/build.rs @@ -1,5 +1,8 @@ fn main() { - // actions + #[cfg(not(all( + target_os = "macos", + all(feature = "macos-ui", not(feature = "force-crossplatform-ui")) + )))] glib_build_tools::compile_resources( &["src/crossplatform/resources"], "src/crossplatform/resources/resources.gresource.xml",