[LLVMdev] Linking to LLVM with CMake

Óscar Fuentes ofv at wanadoo.es
Thu Dec 23 12:12:32 PST 2010


Joshua Warner <joshuawarner32 at gmail.com> writes:

> I'm having problems linking my project (outside of the llvm source tree) to
> the LLVM jit.  My CMake file contains:
> ------------
> find_package(LLVM REQUIRED)

[snip]

LLVM has no proper support for find_package. Please read the following
link for instructions on how to use LLVM on your project:

http://www.llvm.org/docs/CMake.html#embedding



More information about the llvm-dev mailing list