aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backends.cmake
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-12 10:38:31 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-22 16:57:53 +0100
commit3cc9a626773ae9e79d3d0bd9c120704676d44daa (patch)
tree499a9c3545d7ef2f2b4abc30e9351734a1e4c4a0 /src/backends/backends.cmake
parent233b3d685b4e4e931e86e021b77ee81d5b818f38 (diff)
downloadarmnn-3cc9a626773ae9e79d3d0bd9c120704676d44daa.tar.gz
IVGCVSW-1998 : replace Compute enum in LayerSupport free functions
!android-nn-driver:153490 Change-Id: I1c2a5f942e3a1c3626e093c90545ca27c64ba5e8
Diffstat (limited to 'src/backends/backends.cmake')
-rw-r--r--src/backends/backends.cmake10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/backends/backends.cmake b/src/backends/backends.cmake
index f6f69bd11e..57f5a00015 100644
--- a/src/backends/backends.cmake
+++ b/src/backends/backends.cmake
@@ -11,8 +11,14 @@ list(APPEND armnnLibraries armnnBackendsCommon)
FILE(GLOB commonIncludes ${PROJECT_SOURCE_DIR}/src/backends/*/common.cmake)
FILE(GLOB backendIncludes ${PROJECT_SOURCE_DIR}/src/backends/*/backend.cmake)
-# prefer to include common code first so backends can depend on them
-foreach(includeFile ${commonIncludes} ${backendIncludes})
+# prefer to include common code first
+foreach(includeFile ${commonIncludes})
+ message("Including backend common library into the build: ${includeFile}")
+ include(${includeFile})
+endforeach()
+
+# now backends can depend on common code included first
+foreach(includeFile ${backendIncludes})
message("Including backend into the build: ${includeFile}")
include(${includeFile})
endforeach()