Install LLVM CMake modules

Hi All,

I have a system running Linux x86_64. And I have the latest LLVM from the repo compiled and installed using CMake (2.8.10.2).

In one of my projects, I need the LLVM libraries. So I use CMake to configure the compiler and linker flags ( Find_Package(LLVM Required) ).

CMake is complaining about missing LLVM-Config when some users try to compile the project. I looked at the LLVMConfig.cmake. It seems that the CMAKE_MODULE_PATH is never set to the install path. So it always falls back to the cmake/modules/ in the LLVM source directory, which may not be accessible for some users.

Do I miss something when I configure LLVM or is that the intended behavior?