blob: 2095e5d282be066a6169266556551b76309153a3 [file] [log] [blame]
Reid Klecknered8bca42014-11-05 23:14:59 +00001# This file allows users to call find_package(Clang) and pick up our targets.
2
3# Clang doesn't have any CMake configuration settings yet because it mostly
4# uses LLVM's. When it does, we should move this file to ClangConfig.cmake.in
5# and call configure_file() on it.
6
Reid Klecknera2550e62016-02-19 00:56:56 +00007find_package(LLVM REQUIRED CONFIG)
8
Michael Gottesman497e97f2016-06-29 21:59:19 +00009@CLANG_CONFIG_CODE@
10
11set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
12
Reid Klecknered8bca42014-11-05 23:14:59 +000013# Provide all our library targets to users.
Michael Gottesman497e97f2016-06-29 21:59:19 +000014include("@CLANG_CONFIG_EXPORTS_FILE@")