From 311d6533177769b1eb81ac21442c7563faac21a8 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Tue, 30 Aug 2022 12:06:25 +0200 Subject: Remove path to TFLM make download folder Change-Id: Iaf22f1d7ad3e732f9163702cc08c8c2a3bb3a69d --- applications/inference_process/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/applications/inference_process/CMakeLists.txt b/applications/inference_process/CMakeLists.txt index 9afe34a..47fae19 100644 --- a/applications/inference_process/CMakeLists.txt +++ b/applications/inference_process/CMakeLists.txt @@ -20,16 +20,18 @@ set(TR_PRINT_OUTPUT_BYTES "" CACHE STRING "Print output data.") add_library(inference_process STATIC) -target_include_directories(inference_process PUBLIC include - PRIVATE ${TENSORFLOW_PATH} ${TENSORFLOW_PATH}/tensorflow/lite/micro/tools/make/downloads/flatbuffers/include) +target_include_directories(inference_process PUBLIC include) target_link_libraries(inference_process PRIVATE tflu cmsis_core cmsis_device ethosu_crc) + if (TARGET layer_by_layer_profiler) target_link_libraries(inference_process PRIVATE layer_by_layer_profiler) endif() + if (TARGET arm_profiler) target_link_libraries(inference_process PRIVATE arm_profiler) endif() + if (TARGET ethosu_log) target_link_libraries(inference_process PRIVATE ethosu_log) endif() -- cgit v1.2.1