# stage1: guard against case-mismatched build types · gitcafe/zig

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

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

Visibility: public

Requested revision: c6df5deb3450e0d8a2ba449c34a0bd195fbce8ec

Requested commit: c6df5deb3450e0d8a2ba449c34a0bd195fbce8ec

Commit: c6df5deb3450e0d8a2ba449c34a0bd195fbce8ec

Tree: 77de20ef7c7cfbf8d95258584db1a0cd81cc2957

Author: Michael Dusan

Committer: Michael Dusan

## Message

```
stage1: guard against case-mismatched build types

- zig CMakeLists.txt CMAKE_BUILD_TYPE string comparisons are case-sensitive
- cmake itself is unclear about how tolerant it is for case-mismatches
- add CMAKE_BUILD_TYPE guard in CMakeLists.txt to force exact matches

```

## Parents

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

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