aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2023-04-04 16:50:44 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2023-04-04 16:52:33 +0200
commit90f9df900acdc0718ecd2dfdc53780664758dec5 (patch)
treedf2b3b71e52c36b04d260edeb3f796e8e8c5e41d
parentecdce6c33b2cb5e2589e339dd5c3c5c463ace9f2 (diff)
downloadethos-u-core-driver-90f9df900acdc0718ecd2dfdc53780664758dec5.tar.gz
CMakeLists: Define ETHOSU macro23.08-rc223.08-rc123.0823.05-rc223.05-rc123.05
Change-Id: Iebbf8243fe97cc9195920e1ba3f4b35005e7c01a
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7cd9e1..a5a4bd3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2019-2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -83,6 +83,9 @@ install(TARGETS ethosu_core_driver LIBRARY DESTINATION "lib")
install(FILES include/ethosu_device.h include/ethosu_driver.h include/pmu_ethosu.h
DESTINATION "include")
+# Define ETHOSU macro
+target_compile_definitions(ethosu_core_driver PUBLIC ETHOSU)
+
#
# Print build status
#