aboutsummaryrefslogtreecommitdiff
path: root/cmake/GlobalConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GlobalConfig.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 2bfca58500..60b6a3dae6 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -334,6 +334,10 @@ if(ARMNNREF)
add_definitions(-DARMNNREF_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}"')
+
# ArmNN dynamic backend
if(DYNAMIC_BACKEND_PATHS)
add_definitions(-DARMNN_DYNAMIC_BACKEND_ENABLED)