aboutsummaryrefslogtreecommitdiff
path: root/applications
diff options
context:
space:
mode:
authorJonas Ohlsson <jonas.ohlsson@arm.com>2021-06-04 14:58:34 +0200
committerJonas Ohlsson <jonas.ohlsson@arm.com>2021-06-04 14:58:34 +0200
commitf821c61fddd0193b6333a76f39904d201f30b7e6 (patch)
tree008b3f6f16df5a67ce60f083d754cec9bc1bf0a5 /applications
parent3adfbc1bf472a095ef01e9f62f80d55e0d834dfe (diff)
downloadethos-u-core-platform-f821c61fddd0193b6333a76f39904d201f30b7e6.tar.gz
Remove dependency on cpp
Remove dependency on cpp, and instead use the specified compiler to preprocess the linker scripts. Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com> Change-Id: I000082f8e90015b12f99ba3f616b6b3e07647873
Diffstat (limited to 'applications')
-rw-r--r--applications/trustzone_inference/nonsecure/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/trustzone_inference/nonsecure/CMakeLists.txt b/applications/trustzone_inference/nonsecure/CMakeLists.txt
index a4d95ad..09cec83 100644
--- a/applications/trustzone_inference/nonsecure/CMakeLists.txt
+++ b/applications/trustzone_inference/nonsecure/CMakeLists.txt
@@ -41,6 +41,9 @@ target_compile_definitions(trustzone_nonsecure PUBLIC TRUSTZONE_NONSECURE)
# Silence warning on cmse attributes
target_compile_options(trustzone_nonsecure PRIVATE -Wno-ignored-attributes)
+# Add include directory for target application specifics
+target_include_directories(trustzone_nonsecure PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../${ETHOSU_TARGET})
+
#############################################################################
# linker configuration
#############################################################################