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 <richard.burton@arm.com>
Change-Id: I3ed63781edddf24887f61a971bfadaa037739fa8
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 @@
# 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.