# macOS: cmake detect system processor incorrectly on Apple Silicon?

**URL:** https://discourse.cmake.org/t/macos-cmake-detect-system-processor-incorrectly-on-apple-silicon/5129
**Category:** Usage
**Created:** [February 28, 2022, 1:26pm UTC](https://discourse.cmake.org/t/macos-cmake-detect-system-processor-incorrectly-on-apple-silicon/5129 "2022-02-28T13:26:36Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 1, 2022, 1:19pm UTC](https://discourse.cmake.org/t/macos-cmake-detect-system-processor-incorrectly-on-apple-silicon/5129/5 "2022-03-01T13:19:19Z")

</div>

> [@craig.scott](#):
>
> I think there is a way for a x86\_64 process to tell what the underlying processor is even when running under Rosetta.

Yes, but when executing a process, you’ll get the `x86_64` version, so it will be “cross compiling” as far as any tooling is concerned. It’s just easier to get a multi-arch CMake instead.

---

_[View the full topic](https://discourse.cmake.org/t/macos-cmake-detect-system-processor-incorrectly-on-apple-silicon/5129)._
