BuiltInPackages_android.cmake 675 B

1234567891011121314151617
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. set(ANDROID_USE_OCULUS_OPENXR OFF CACHE BOOL "When ON it uses OpenXR library from Oculus SDK.")
  9. if(ANDROID_USE_OCULUS_OPENXR)
  10. include(${CMAKE_CURRENT_LIST_DIR}/FindOpenXROculus.cmake)
  11. set(openxr_dependency 3rdParty::OpenXROculus)
  12. else()
  13. ly_associate_package(PACKAGE_NAME OpenXR-1.0.22-rev1-android TARGETS OpenXR PACKAGE_HASH 1227204583ce224c7e3843e82bb36deb576df6b458eecce46740cb8941902f21)
  14. set(openxr_dependency 3rdParty::OpenXR)
  15. endif()