CMakeLists: Define ETHOSU macro

Change-Id: Iebbf8243fe97cc9195920e1ba3f4b35005e7c01a
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(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
 #