Commit Graph

4 Commits

Author SHA1 Message Date
Petr Hosek 188592ff08 Revert "[CMake] Use write_basic_package_version_file for LLVM"
This reverts commit 3001d080c8 which
seems to have introduced a race condition that's failing the build
in some cases.
2021-03-29 13:07:39 -07:00
Alex Reinking 3001d080c8 [CMake] Use write_basic_package_version_file for LLVM
Use the CMake 3.13 features of CMakeConfigPackageHelpers to generate
LLVMConfigVersion.cmake with proper architecture detection, major+minor
version matching, etc.

Differential Revision: https://reviews.llvm.org/D99451
2021-03-27 21:02:20 +00:00
Eric Christopher 814496a453 Teach LLVMConfigVersion.cmake to behave as find_package() expects.
Patch by Brad King

llvm-svn: 206426
2014-04-16 23:15:31 +00:00
Oscar Fuentes dbe99ba37d CMake: support for using LLVM from client projects with find_package.
Patch by arrowdodger!

llvm-svn: 129247
2011-04-10 16:17:49 +00:00