From fc3efb318f7607e5ac815665e3f28ce3e465cfb5 Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Wed, 13 Jan 2021 14:30:19 +0000 Subject: IVGCVSW-5483 Fix cache loaded network nightly failure * Fixed issue where nightly job couldn't find flatbuffers import. * Removed unnecessary commented code. Signed-off-by: Matthew Sloyan Change-Id: If201f3fe54bf3bdd167aaf5d108154165d2a910d --- src/backends/cl/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/cl/CMakeLists.txt b/src/backends/cl/CMakeLists.txt index bfb99dde96..60cdaa314d 100644 --- a/src/backends/cl/CMakeLists.txt +++ b/src/backends/cl/CMakeLists.txt @@ -15,8 +15,6 @@ if(ARMCOMPUTECL) # Generate an ClContextSchema_generated.h file if it doesn't exist, or update it when necessary otherwise OUTPUT ClContextSchema_generated.h DEPENDS ClContextSchema.fbs COMMAND ${FLATC} -o ${CMAKE_CURRENT_BINARY_DIR} --cpp ${CMAKE_CURRENT_SOURCE_DIR}/ClContextSchema.fbs - #COMMAND cp ${CMAKE_CURRENT_BINARY_DIR}/ClContextSchema_generated.h - # ${CMAKE_CURRENT_SOURCE_DIR}/ClContextSchema_generated.h ) list(APPEND armnnClBackend_sources @@ -52,6 +50,8 @@ if(ARMCOMPUTECL) add_subdirectory(test) endif() + include_directories(SYSTEM "${FLATBUFFERS_INCLUDE_PATH}") + else() list(APPEND armnnClBackend_sources ClBackendId.hpp -- cgit v1.2.1