Skip to content

Commit

Permalink
fix uwp release build
Browse files Browse the repository at this point in the history
  • Loading branch information
korejan committed Sep 22, 2024
1 parent cc5192c commit 41e6166
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion alvr/openxr-client/alxr-engine-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ fn main() {
"DISABLE_DECODER_SUPPORT",
cmake_option_from_feature(&DISABLE_DECODER_FEATURE),
);
if profile == "release" && cmake_generator == "Ninja" {
if profile == "release"
&& cmake_generator == "Ninja"
&& target_triple.vendor != target_lexicon::Vendor::Uwp
{
config.build_target("install/strip");
}

Expand Down

0 comments on commit 41e6166

Please sign in to comment.