[PATCH] D13622: Add call to find_package to load LLVM dependencies

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 18 17:01:31 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL261290: Add call to find_package to load LLVM dependencies (authored by rnk).

Changed prior to commit:
  http://reviews.llvm.org/D13622?vs=37031&id=48431#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13622

Files:
  cfe/trunk/cmake/modules/ClangConfig.cmake

Index: cfe/trunk/cmake/modules/ClangConfig.cmake
===================================================================
--- cfe/trunk/cmake/modules/ClangConfig.cmake
+++ cfe/trunk/cmake/modules/ClangConfig.cmake
@@ -4,5 +4,7 @@
 # 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")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13622.48431.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160219/361ab61c/attachment.bin>


More information about the cfe-commits mailing list