commit | 15625f17e4c5f71be970cda8bf918cc00e613cad | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Wed Nov 24 14:16:34 2021 +0100 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Thu Nov 25 15:31:56 2021 +0100 |
tree | d37a09a9c6ecd879a9b39fb8f3126134b23e9d79 | |
parent | e07dda6a06e66b055e9302d8c35233ff87e3e934 [diff] [blame] |
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
diff --git a/applications/driver_unit_tests/CMakeLists.txt b/applications/driver_unit_tests/CMakeLists.txt index 45c733b..aee3025 100644 --- a/applications/driver_unit_tests/CMakeLists.txt +++ b/applications/driver_unit_tests/CMakeLists.txt
@@ -16,6 +16,10 @@ # limitations under the License. # +if (NOT TARGET ethosu_core_driver) + return() +endif() + add_library(driver_unit INTERFACE) target_sources(driver_unit INTERFACE