summaryrefslogtreecommitdiffstats
path: root/clang/cmake/modules/ClangConfig.cmake.in
blob: 2095e5d282be066a6169266556551b76309153a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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)

@CLANG_CONFIG_CODE@

set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")

# Provide all our library targets to users.
include("@CLANG_CONFIG_EXPORTS_FILE@")
OpenPOWER on IntegriCloud