Skip to content

Commit

Permalink
core motion is available on watchos
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 29, 2024
1 parent 1a9ed67 commit c384ea9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cidre/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down

0 comments on commit c384ea9

Please # to comment.