# cmake: ignore case for TARGET ARCH/OS mapping · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0cb8ed6b85048db849b80f8e03b5f21ed48f91ad)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0cb8ed6b85048db849b80f8e03b5f21ed48f91ad

Requested commit: 0cb8ed6b85048db849b80f8e03b5f21ed48f91ad

Commit: 0cb8ed6b85048db849b80f8e03b5f21ed48f91ad

Tree: c47660fa31e99cdf7f109cfec6d2f25348f35c76

Author: Michael Dusan

Committer: Michael Dusan

## Message

```
cmake: ignore case for TARGET ARCH/OS mapping

- first convert to lower-case then perform mappings
- effect: freebsd, netbsd and openbsd convert arch `amd64` to `x86_64`
- effect: convert `arm64` to `aarch64`

```

## Parents

- [d78a2619bad84e47f288cecd35d35a0233c17beb](https://git.cafe/gitcafe/zig/commit/d78a2619bad84e47f288cecd35d35a0233c17beb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0cb8ed6b85048db849b80f8e03b5f21ed48f91ad?format=markdown)
