diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-01-17 09:40:09 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-01-18 15:21:22 +0100 |
commit | f7edeb7fcbb6fcb67c2711db16386c03d6f29d9d (patch) | |
tree | c9db33e5b85dbdf94611ae314f0c8e0ad30b3169 /applications/trustzone_inference/CMakeLists.txt | |
parent | 6110f4122a478e6412d490178b3b11b3e8131893 (diff) | |
download | ethos-u-core-platform-f7edeb7fcbb6fcb67c2711db16386c03d6f29d9d.tar.gz |
Build system updates
Move finding Python after the project command. This was causing
incremental CMake configurations to fail.
Moving ETHOSU_TARGET_* variables after adding the common subdirectory.
It is necessary to set the variables before the core driver is
included.
Change-Id: I1c6883061cb9247336f8b33d82d2e2de870634fa
Diffstat (limited to 'applications/trustzone_inference/CMakeLists.txt')
-rw-r--r-- | applications/trustzone_inference/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/trustzone_inference/CMakeLists.txt b/applications/trustzone_inference/CMakeLists.txt index a985437..5a99129 100644 --- a/applications/trustzone_inference/CMakeLists.txt +++ b/applications/trustzone_inference/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Arm Limited. All rights reserved. +# Copyright (c) 2021-2022 Arm Limited. All rights reserved. # # SPDX-License-Identifier: Apache-2.0 # @@ -16,7 +16,7 @@ # limitations under the License. # -if (NOT ${ETHOSU_TARGET} STREQUAL "corstone-300" OR NOT TARGET ethosu_core_driver) +if (NOT ${ETHOSU_TARGET} STREQUAL "corstone-300" OR NOT TARGET ethosu_core_driver OR NOT ETHOSU_TARGET_NPU_CONFIG STREQUAL "ethos-u55-128") return() endif() |