diff --git a/cidre/build.rs b/cidre/build.rs index 53048b16..e1c493db 100644 --- a/cidre/build.rs +++ b/cidre/build.rs @@ -304,12 +304,16 @@ fn main() { } } + if sdk != "appletvos" && sdk != "appletvsimulator" { + add_xc_target_args_from_features(&mut xc_target_args, &["core_motion"]); + } + if sdk != "appletvos" && sdk != "appletvsimulator" && sdk != "watchos" && sdk != "watchsimulator" { - add_xc_target_args_from_features(&mut xc_target_args, &["wk", "core_motion"]); + add_xc_target_args_from_features(&mut xc_target_args, &["wk"]); } if [