clang/cmake: Drop use of llvm-config for LLVM install discovery
authorTom Stellard <tstellar@redhat.com>
Sat, 6 Aug 2022 13:22:05 +0000 (09:22 -0400)
committerJohn Ericson <John.Ericson@Obsidian.Systems>
Sat, 6 Aug 2022 20:22:59 +0000 (16:22 -0400)
commitd2b158e29eedf4a29bf8d2142f2ed21a52fc80a7
tree35baf81723b38371872b107fd9927c2c8fa98b75
parent2d2ad02f43bda3629b1063945ac235e67dea79d4
clang/cmake: Drop use of llvm-config for LLVM install discovery

This has been deprecated for a while, since D51714 in 2018.

Remove it in favor of using CMake's find_package() function.

Reviewed By: phosek, mgorny

Differential Revision: https://reviews.llvm.org/D128777
clang/CMakeLists.txt