Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid checking for arm/aarch64 in toolchain path (#420)
Since the CMAKE_CXX_COMPILER contains the full path including directory components, this check will enable Arm intrinsics even on non-Arm platforms if the directory the compiler resides in happens to contain the substring "arm", for example: /home/parma/toolchains/g++-14 ^^^ CMAKE_SYSTEM_PROCESSOR already specifies the target architecture so there is no need to additionally check the compiler string, therefore we simply remove this condition.
- Loading branch information