summaryrefslogtreecommitdiffstats
path: root/clang/cmake/modules/ClangConfig.cmake
blob: d30a277d222b985f0e54a09b794ccf16715c38a7 (plain)
1
2
3
4
5
6
7
8
9
10
# This file allows users to call find_package(Clang) and pick up our targets.

# Clang doesn't have any CMake configuration settings yet because it mostly
# uses LLVM's. When it does, we should move this file to ClangConfig.cmake.in
# and call configure_file() on it.

find_package(LLVM REQUIRED CONFIG)

# Provide all our library targets to users.
include("${CMAKE_CURRENT_LIST_DIR}/ClangTargets.cmake")
OpenPOWER on IntegriCloud