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")
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")
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits