mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
808 B
23 lines
808 B
# |
|
# Copyright © 2020 Arm Ltd and Contributors. All rights reserved. |
|
# SPDX-License-Identifier: MIT |
|
# |
|
|
|
get_filename_component(ARMNN_DELEGATE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY) |
|
set(ARMNN_DELEGATE_CONFIG_FILE ${CMAKE_CURRENT_LIST_FILE}) |
|
MESSAGE(STATUS "Found ArmnnDelegate: ${ARMNN_DELEGATE_CONFIG_FILE}") |
|
|
|
include(CMakeFindDependencyMacro) |
|
|
|
list(APPEND CMAKE_MODULE_PATH ${ARMNN_DELEGATE_CMAKE_DIR}) |
|
|
|
@PACKAGE_INIT@ |
|
set_and_check(Armnn_DIR "@Armnn_DIR@") |
|
find_dependency(Armnn REQUIRED CONFIG HINTS ${Armnn_DIR}) |
|
|
|
if(NOT TARGET ArmnnDelegate::ArmnnDelegate) |
|
MESSAGE(STATUS "ArmnnDelegate Import: ${ARMNN_DELEGATE_CMAKE_DIR}/ArmnnDelegateTargets.cmake") |
|
include("${ARMNN_DELEGATE_CMAKE_DIR}/ArmnnDelegateTargets.cmake") |
|
endif() |
|
|
|
set(ARMNN_DELEGATE_LIBRARIES ArmnnDelegate::ArmnnDelegate) |