From 41e616663d83d1b204b8a2f96cf788e836c77f3f Mon Sep 17 00:00:00 2001 From: korejan <64199710+korejan@users.noreply.github.com> Date: Sun, 22 Sep 2024 11:06:42 +0100 Subject: [PATCH] fix uwp release build --- alvr/openxr-client/alxr-engine-sys/build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/alvr/openxr-client/alxr-engine-sys/build.rs b/alvr/openxr-client/alxr-engine-sys/build.rs index d5cfdbf3f1..fc46f70d6b 100644 --- a/alvr/openxr-client/alxr-engine-sys/build.rs +++ b/alvr/openxr-client/alxr-engine-sys/build.rs @@ -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"); }