14 lines
416 B
Diff
14 lines
416 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 9d824cd..8ff44a0 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -467,7 +467,7 @@ if(NOT OPUS_DISABLE_INTRINSICS)
|
||
|
endif()
|
||
|
endif()
|
||
|
|
||
|
- if(COMPILER_SUPPORT_NEON)
|
||
|
+ if(COMPILER_SUPPORT_NEON AND OPUS_USE_NEON)
|
||
|
if(OPUS_MAY_HAVE_NEON)
|
||
|
if(RUNTIME_CPU_CAPABILITY_DETECTION)
|
||
|
message(STATUS "OPUS_MAY_HAVE_NEON enabling runtime detection")
|