From c1816af864c1afb080a6a0482b9315afbd87929e Mon Sep 17 00:00:00 2001 From: Aleksandr Voron Date: Mon, 16 Oct 2023 20:06:59 +0200 Subject: [PATCH] [CPU] add_compile_definitions (OV_CPU_ARM_ENABLE_FP16) (#20498) --- src/plugins/intel_cpu/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_cpu/CMakeLists.txt b/src/plugins/intel_cpu/CMakeLists.txt index 10b82b2b75ffcb..8276d5a3188970 100644 --- a/src/plugins/intel_cpu/CMakeLists.txt +++ b/src/plugins/intel_cpu/CMakeLists.txt @@ -27,7 +27,7 @@ elseif(AARCH64) if(APPLE) # Apple M1 / M2 is assumed set(OV_CPU_ARM_TARGET_ARCH_DEFAULT arm64-v8.2-a) - add_definitions(-DOV_CPU_ARM_ENABLE_FP16) + add_compile_definitions(OV_CPU_ARM_ENABLE_FP16) else() set(OV_CPU_ARM_TARGET_ARCH_DEFAULT arm64-v8a) endif()