IVGCVSW-6181 patch to allow building against tflite > v2.3

Change-Id: I292add699b2af32fab87b98929fe6fee79fdf356
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/delegate/CMakeLists.txt b/delegate/CMakeLists.txt
index aed77bf..9e4fdd9 100644
--- a/delegate/CMakeLists.txt
+++ b/delegate/CMakeLists.txt
@@ -68,6 +68,7 @@
 target_link_libraries(armnnDelegate PUBLIC Armnn::Armnn)
 
 ## Add TfLite v2.3.1 dependency
+find_package(TfLiteSrc REQUIRED MODULE)
 find_package(TfLite REQUIRED MODULE)
 
 target_link_libraries(armnnDelegate PUBLIC ${TfLite_LIB})
@@ -115,6 +116,11 @@
 
 target_compile_options(thirdparty_headers INTERFACE -Wno-old-style-cast)
 
+add_library(profiling_library_headers INTERFACE)
+target_include_directories(profiling_library_headers INTERFACE $<BUILD_INTERFACE:${ARMNN_SOURCE_DIR}/profiling>
+                                                              $<INSTALL_INTERFACE:include/profiling_library_headers>)
+
+
 set_target_properties(armnnDelegate PROPERTIES VERSION ${DELEGATE_LIB_VERSION} SOVERSION ${DELEGATE_LIB_SOVERSION})
 
 option(BUILD_UNIT_TESTS "Build unit tests" ON)
@@ -232,6 +238,7 @@
 
     target_link_libraries(DelegateUnitTests PRIVATE tflite_headers)
     target_link_libraries(DelegateUnitTests PRIVATE flatbuffer_headers)
+    target_link_libraries(DelegateUnitTests PRIVATE profiling_library_headers)
 
 endif()