aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2020-11-04 13:33:41 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2020-11-08 17:07:00 +0000
commit82490eee66b733ef29b3697b21e10a4c8be95233 (patch)
treef2d4fdb6efa1d3527371d63354fb5fa4de480402 /cmake
parent85523c492254641819e9e08dfe608c97ba0f8784 (diff)
downloadarmnn-82490eee66b733ef29b3697b21e10a4c8be95233.tar.gz
COMPMID-3639: (3RDPARTY_UPDATE) Move CL kernels to src
* Change file Armnn GlobalConfig.cmake uses to find ARMCOMPUTE_INCLUDE * Original file has been moved and no longer visible Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I91c1376124dad2b2db764f83c421a1cc110e5dd1
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GlobalConfig.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 3fb12df19d..01ce91fc52 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -246,12 +246,12 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/profiling)
# Note that ARM Compute has a different folder layout depending on the branch but also on
# whether it comes from a prepackaged archive (this is why we add several hints below)
if(ARMCOMPUTENEON OR ARMCOMPUTECL)
- find_path(ARMCOMPUTE_INCLUDE arm_compute/core/CL/ICLKernel.h
+ find_path(ARMCOMPUTE_INCLUDE arm_compute/core/CL/OpenCL.h
PATHS ${ARMCOMPUTE_ROOT}/include
PATHS ${ARMCOMPUTE_ROOT}/applications/arm_compute
PATHS ${ARMCOMPUTE_ROOT}
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
- find_path(ARMCOMPUTE_INCLUDE arm_compute/core/CL/ICLKernel.h)
+ find_path(ARMCOMPUTE_INCLUDE arm_compute/core/CL/OpenCL.h)
include_directories(SYSTEM "${ARMCOMPUTE_INCLUDE}")
# Find the Arm Compute libraries if not already specified (the user may have already defined this in advance,