[PATCH] D29304: [cmake] Hint find_package() to prefer LLVM installed alongside clang

2017-01-31 Thread Michał Górny via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293632: [cmake] Hint find_package() to prefer LLVM installed alongside clang (authored by mgorny). Changed prior to commit: https://reviews.llvm.org/D29304?vs=86339=86421#toc Repository: rL LLVM

[PATCH] D29304: [cmake] Hint find_package() to prefer LLVM installed alongside clang

2017-01-30 Thread Reid Kleckner via Phabricator via cfe-commits
rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land. lgtm Repository: rL LLVM https://reviews.llvm.org/D29304 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D29304: [cmake] Hint find_package() to prefer LLVM installed alongside clang

2017-01-30 Thread Michał Górny via Phabricator via cfe-commits
mgorny created this revision. Include a path hint for find_package() in ClangConfig.cmake to ensure that CMake prefers LLVM installed alongside clang over the default search path. If two versions of LLVM are installed in the system, and one of them is in PATH, CMake's find_package() magic