only build gtk resources if building gtk ui
This commit is contained in:
parent
3534d986b8
commit
77e5632856
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue