[LLVMdev] Install LLVM CMake modules
sarevokcc at gmail.com
Mon Mar 18 05:27:33 PDT 2013
I have a system running Linux x86_64. And I have the latest LLVM from the
repo compiled and installed using CMake (126.96.36.199).
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev