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.
19 lines
568 B
19 lines
568 B
#
|
|
# Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
get_filename_component(ARMNN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY)
|
|
set(ARMNN_CONFIG_FILE ${CMAKE_CURRENT_LIST_FILE})
|
|
MESSAGE(STATUS "Found Armnn: ${ARMNN_CONFIG_FILE}")
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH ${ARMNN_CMAKE_DIR})
|
|
|
|
if(NOT TARGET Armnn::Armnn)
|
|
MESSAGE(STATUS "Armnn Import: ${ARMNN_CMAKE_DIR}/ArmnnTargets.cmake")
|
|
include("${ARMNN_CMAKE_DIR}/ArmnnTargets.cmake")
|
|
endif()
|
|
|
|
set(ARMNN_LIBRARIES Armnn::Armnn) |