[LLVMdev] Discrepancies between bin/llvm-config --libs and LLVM_LINK_COMPONENTS in CMake.
Óscar Fuentes
ofv at wanadoo.es
Wed Mar 9 06:50:14 PST 2011
arrowdodger <6yearold at gmail.com> writes:
> llvm-config --libs jit bitreader bitwriter ipo linker engine
[snip]
> Now i use in CMakeLists.txt following line:
>
> set(LLVM_LINK_COMPONENTS jit bitreader bitwriter ipo linker engine)
[snip]
> As you can see, this differs from output of llvm-config tool. This causes
> linking to fail due to unresolved externals.
See if r127333 fixes the problem for you.
More information about the llvm-dev
mailing list