From b9f05182d0917e2192fd32702d619848d5676e5f Mon Sep 17 00:00:00 2001
From: Ryan Pavlik <ryan.pavlik@collabora.com>
Date: Fri, 26 May 2023 19:39:57 +0000
Subject: [PATCH] cmake: Adjust XRT_OPENXR_INSTALL_ACTIVE_RUNTIME to default to
 OFF.

---
 CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7cb3f859..e25a72299 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,10 +27,11 @@ option(
 	"If XRT_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH is off, use a relative path from the manifest to the runtime."
 	ON
 	)
-if(NOT WIN32)
+if(NOT WIN32 AND NOT ANDROID)
 	option(
 		XRT_OPENXR_INSTALL_ACTIVE_RUNTIME
-		"Make Monado the default OpenXR runtime on install" ON
+		"Make Monado the system-wide default OpenXR runtime on install (requires superuser permissions)"
+		OFF
 		)
 endif()