aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-26 12:44:32 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-26 12:44:32 +0100
commit7cec916ffd20a5a7999465d107a116806d6c6e96 (patch)
tree0c6b3dae4745dbd6dd4820aafcb696bce792aeb6
parentd387405a3c1e7bfe8d80dffe109d18b4a1b2041c (diff)
downloadethos-u-core-platform-21.11.tar.gz
Exclude ThreadX appliction21.11
Exclude ThreadX application if the NPU driver was not compiled into the project. Change-Id: I036443b4c2bb276152acb7ec3267580a06d2d901
-rw-r--r--applications/threadx_demo/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/threadx_demo/CMakeLists.txt b/applications/threadx_demo/CMakeLists.txt
index 34051f8..dbc56d2 100644
--- a/applications/threadx_demo/CMakeLists.txt
+++ b/applications/threadx_demo/CMakeLists.txt
@@ -17,7 +17,7 @@
#
# Exclude this app if ThreadX target does not exist
-if (NOT TARGET threadx)
+if (NOT TARGET threadx OR NOT TARGET ethosu_core_driver)
message("Skipping ThreadX application")
return()
endif()