[PATCH] Help CMake-based applications find a specific LLVM version

Brad King brad.king at kitware.com
Thu Apr 3 10:52:12 PDT 2014


Hi Folks,

Here is a series to help CMake-based applications use code of the form

 find_package(LLVM 3.5)

to locate a specific version of LLVM.  The first patch exports the
LLVM_VERSION_PATCH value in LLVMConfig.cmake and the second patch
teaches LLVMConfigVersion.cmake to behave as find_package() expects.

See the commit message in each patch for details.

Thanks,
-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CMake-Add-LLVM_VERSION_PATCH-to-LLVMConfig.cmake.patch
Type: text/x-diff
Size: 1789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140403/7412078b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-CMake-Implement-LLVMConfigVersion.cmake-find_package.patch
Type: text/x-diff
Size: 2911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140403/7412078b/attachment-0001.patch>


More information about the llvm-commits mailing list