# Force static libncurses in CMakeLists when static zig on macos · gitcafe/zig

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

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

Visibility: public

Requested revision: 2ca5a859e9f5148a09928803cc2d109440a8067c

Requested commit: 2ca5a859e9f5148a09928803cc2d109440a8067c

Commit: 2ca5a859e9f5148a09928803cc2d109440a8067c

Tree: 4f0bc0cc9eb117c1726a8342b8ab093c3526bba2

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
Force static libncurses in CMakeLists when static zig on macos

Add additional search paths pointing at homebrew prefixes as Apple
doesn't ship a static libncurses for linking - only a stub for dynamic
linking `libncurses.tbd`.

```

## Parents

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

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