# Revert "cmake: check llvm-config in separate function" · gitcafe/zig

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

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

Visibility: public

Requested revision: b1207b3293968da4da12c26c85384f10ff4d1c06

Requested commit: b1207b3293968da4da12c26c85384f10ff4d1c06

Commit: b1207b3293968da4da12c26c85384f10ff4d1c06

Tree: 5b7d5c3ed1da8abb386b3fbb465e8daecfb9cc69

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "cmake: check llvm-config in separate function"

This reverts commit 55c3efcb58cc153fc3109a61c6949e470b57b81e.

This caused a regression when building Zig with Homebrew.
Also I don't like that it prints a message on success. Only when there
is a problem should an error message be printed.

closes #14093

```

## Parents

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

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