[LLVMdev] Install LLVM CMake modules

Dongrui She sarevokcc at gmail.com
Mon Mar 18 05:27:33 PDT 2013


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?

-- 
Regards,
Dongrui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130318/c0dfdc94/attachment.html>


More information about the llvm-dev mailing list