Skip to content

Commit 7863df4

Browse files
committed
Improved arm processor check
1 parent 55be156 commit 7863df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if (GDX_ENABLE_SIMD)
6666
set_target_properties(Vc::Vc PROPERTIES
6767
INTERFACE_COMPILE_DEFINITIONS "Vc_IMPL=SSE2;Vc_NO_STD_FUNCTIONS"
6868
)
69-
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
69+
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|arm64|aarch64)$")
7070
set_target_properties(Vc::Vc PROPERTIES
7171
INTERFACE_COMPILE_DEFINITIONS "Vc_IMPL=Scalar;Vc_NO_STD_FUNCTIONS"
7272
)

0 commit comments

Comments
 (0)