summaryrefslogtreecommitdiff
path: root/cmake/modules/ClangConfig.cmake.in
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-02-06 18:17:23 +0000
committerChris Bieneman <beanz@apple.com>2017-02-06 18:17:23 +0000
commit4966278d0c44b989246fd1003914fce9d2df4465 (patch)
tree1f684c03fd7b4fad757a1f15ac0fbfa6277a240d /cmake/modules/ClangConfig.cmake.in
parentdbb412bb81baa0a47f977580428bafba8319fc87 (diff)
[CMake] Add CLANG_INCLUDE_DIRS to CMake exports
This patch adds setting CLANG_INCLUDE_DIRS in the generated CMake package configuration files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/ClangConfig.cmake.in')
-rw-r--r--cmake/modules/ClangConfig.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/ClangConfig.cmake.in b/cmake/modules/ClangConfig.cmake.in
index b7a86cc568..03bca691c2 100644
--- a/cmake/modules/ClangConfig.cmake.in
+++ b/cmake/modules/ClangConfig.cmake.in
@@ -7,6 +7,7 @@ find_package(LLVM REQUIRED CONFIG
set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@")
set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
+set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
# Provide all our library targets to users.
include("@CLANG_CONFIG_EXPORTS_FILE@")