From 15625f17e4c5f71be970cda8bf918cc00e613cad Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Wed, 24 Nov 2021 14:16:34 +0100 Subject: Exclude applications that depend on NPU Exclude applications that depend on the NPU, if the NPU driver library was not compiled by the project. Change-Id: I3fcb570cf155d589a9576266332ba519a11186f1 --- applications/trustzone_inference/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/trustzone_inference') diff --git a/applications/trustzone_inference/CMakeLists.txt b/applications/trustzone_inference/CMakeLists.txt index f1efa95..a985437 100644 --- a/applications/trustzone_inference/CMakeLists.txt +++ b/applications/trustzone_inference/CMakeLists.txt @@ -16,7 +16,7 @@ # limitations under the License. # -if (NOT ${ETHOSU_TARGET} STREQUAL "corstone-300") +if (NOT ${ETHOSU_TARGET} STREQUAL "corstone-300" OR NOT TARGET ethosu_core_driver) return() endif() -- cgit v1.2.1