From 2a6213b97c8ffd28f560370158c69c614e976c47 Mon Sep 17 00:00:00 2001 From: Jamie Anthony Morris Date: Thu, 3 Jun 2021 16:16:13 +0800 Subject: [PATCH] set_target_properties for OpenXR --- android/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index be9c458b..ebf370cd 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -30,6 +30,12 @@ set_target_properties(uv PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/uv ) +add_library(openxr SHARED IMPORTED GLOBAL) +set_target_properties(openxr PROPERTIES + IMPORTED_LOCATION ${platform_spec_path}/libxr_loader.a + INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/openxr +) + add_library(webp STATIC IMPORTED GLOBAL) set_target_properties(webp PROPERTIES IMPORTED_LOCATION ${platform_spec_path}/libwebp.a