@PACKAGE_INIT@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH}) include(CMakeFindDependencyMacro) find_package(Kokkos QUIET) if(NOT Kokkos_FOUND) # If Kokkos was not found, try to use Kokkos used when building ArborX set(Kokkos_DIR @Kokkos_DIR@) find_dependency(Kokkos) endif() include("${CMAKE_CURRENT_LIST_DIR}/ArborXSettings.cmake") if(Kokkos_ENABLE_HIP AND ARBORX_ENABLE_ROCTHRUST) find_dependency(rocthrust) endif() if(Kokkos_ENABLE_SYCL AND ARBORX_ENABLE_ONEDPL) set(ARBORX_CXX_COMPILER_BUNDLED_ONEDPL @ARBORX_CXX_COMPILER_BUNDLED_ONEDPL@) if(NOT ARBORX_CXX_COMPILER_BUNDLED_ONEDPL) find_dependency(oneDPL) endif() unset(ARBORX_CXX_COMPILER_BUNDLED_ONEDPL) endif() if(ARBORX_ENABLE_MPI) find_dependency(MPI) endif() include("${CMAKE_CURRENT_LIST_DIR}/ArborXTargets.cmake") check_required_components(ArborX)