# stage1: override cmake's default compilation flags to statically link the CRT on windows · gitcafe/zig

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

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

Visibility: public

Requested revision: 5b51f41ceed6604b388b63d73360a22d1ea95749

Requested commit: 5b51f41ceed6604b388b63d73360a22d1ea95749

Commit: 5b51f41ceed6604b388b63d73360a22d1ea95749

Tree: 53476b83ac2f893d6407529550bae42985d23c4d

Author: Sahnvour

Committer: Andrew Kelley

## Message

```
stage1: override cmake's default compilation flags to statically link the CRT on windows

we want to use /MT instead of /MD for a fully static executable

```

## Parents

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

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