aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-11-20 16:17:48 +0000
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-11-23 12:54:23 +0000
commit060bad50ff29af335deaae8ca5692a653984d2fd (patch)
tree4c074b55cf9cb05f70c6ac15a3b6051e7a9cc6a1 /cmake
parent1672542bcbfdffadef15f7e844236a1a3da089b5 (diff)
downloadarmnn-060bad50ff29af335deaae8ca5692a653984d2fd.tar.gz
IVGCVSW-5569 Fix Unittest failure while building using EthosNAcc backend
* Correct the id when EthosN is enable Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I5203e615f809e56c7597ffeeec56b5ad38d4ff17
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GlobalConfig.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 843ad6b639..921fe723da 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -353,6 +353,10 @@ if(ARMNNREF)
add_definitions(-DARMNNREF_ENABLED)
endif()
+if(ETHOSN_SUPPORT)
+ add_definitions(-DETHOSN_SUPPORT_ENABLED)
+endif()
+
# This is the root for the dynamic backend tests to search for dynamic
# backends. By default it will be the project build directory.
add_definitions(-DDYNAMIC_BACKEND_BUILD_DIR="${PROJECT_BINARY_DIR}")