diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /cmake/modules/ClangConfig.cmake.in | |
parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) |
Notes
Diffstat (limited to 'cmake/modules/ClangConfig.cmake.in')
-rw-r--r-- | cmake/modules/ClangConfig.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/modules/ClangConfig.cmake.in b/cmake/modules/ClangConfig.cmake.in new file mode 100644 index 0000000000000..a946944dd9915 --- /dev/null +++ b/cmake/modules/ClangConfig.cmake.in @@ -0,0 +1,11 @@ +# This file allows users to call find_package(Clang) and pick up our targets. + +find_package(LLVM REQUIRED CONFIG) + +@CLANG_CONFIG_CODE@ + +set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@") +set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@") + +# Provide all our library targets to users. +include("@CLANG_CONFIG_EXPORTS_FILE@") |