Hi all,<br><br>I understand from the document that I should be able to configure llvm with only specific targets <br>by passing -DLLVM_TARGETS_TO_BUILD=some-backend to cmake. <br><br>However, I get the following errors whenever I don't include X86 in the target list:<br>
<br>CMake Error at cmake/modules/LLVMConfig.cmake:127 (message):<br>  Library `X86' not found in list of llvm libraries.<br>Call Stack (most recent call first):<br>  cmake/modules/LLVMConfig.cmake:47 (explicit_map_components_to_libraries)<br>
  cmake/modules/LLVMConfig.cmake:40 (explicit_llvm_config)<br>  cmake/modules/AddLLVM.cmake:82 (llvm_config)<br>  cmake/modules/AddLLVM.cmake:114 (add_llvm_executable)<br>  examples/Kaleidoscope/Chapter4/CMakeLists.txt:3 (add_llvm_example)<br>
<br>-- Configuring incomplete, errors occurred!<br clear="all"><br>When I try the autotools, I can get what I want by running configure with --enable-targets=some-backend<br><br>Any ideas? I use cmake 2.8.0 on a fedora 10 i686 and I check out llvm from the svn repository.<br>
<br>-- <br><br>Regards,<br><br>Dongrui<br>
<br>