From b76b855448d58b85f53642532375c9b7808ab14d Mon Sep 17 00:00:00 2001 From: Richard Burton Date: Mon, 16 May 2022 14:32:22 +0100 Subject: Minor change to help build API libs independently. * Remove unused CMake left behind after API refactoring. * Include TensorFlow source path directory for common_api target when building CMSIS packs. Signed-off-by: Richard Burton Change-Id: I3ed63781edddf24887f61a971bfadaa037739fa8 --- CMakeLists.txt | 1 - scripts/cmake/cmsis-pack-gen/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e501a54..c51d0af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,7 +120,6 @@ add_subdirectory(${SRC_PATH}/application/api/common ${CMAKE_BINARY_DIR}/api/comm # Include directories for application module: set(APPLICATION_INCLUDE_DIRS - ${SRC_PATH}/application/tensorflow-lite-micro/include ${SRC_PATH}/application/main/include) # Source files for application module: diff --git a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt index 2774ab2..19787b6 100644 --- a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt +++ b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt @@ -55,6 +55,7 @@ endforeach() # Any custom steps that are required for the CMSIS pack generation flow # must be declared here: if (CMSIS_PACK_GEN_FLOW) + target_include_directories(common_api PUBLIC ${TENSORFLOW_SRC_PATH}) # For CMSIS packs, we need CMSIS DSP definition. # @TODO: Currently, this line is added multiple times to the include file. Uncomment when # packgen is fixed. -- cgit v1.2.1