diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-11-24 14:16:34 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-11-25 15:31:56 +0100 |
commit | 15625f17e4c5f71be970cda8bf918cc00e613cad (patch) | |
tree | d37a09a9c6ecd879a9b39fb8f3126134b23e9d79 /applications/driver_unit_tests/CMakeLists.txt | |
parent | e07dda6a06e66b055e9302d8c35233ff87e3e934 (diff) | |
download | ethos-u-core-platform-15625f17e4c5f71be970cda8bf918cc00e613cad.tar.gz |
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
Diffstat (limited to 'applications/driver_unit_tests/CMakeLists.txt')
-rw-r--r-- | applications/driver_unit_tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 |