Hi Timo:<div><br></div><div>Please take a look at cmake's find_package documentation for a full description on how it works, but in general, find_package(LLVM) will look for a file named LLVMConfig.cmake, not findLLVM.cmake.  </div><div><br></div><div>However, unless that file is in the well known search path used by find_package, you'll need to add the path to CMAKE_MODULE_PATH.</div><div><br></div><div>hth...</div><div>don<br><br>On Sunday, October 9, 2016, Timo Janssen via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
<br>
I want to use llvm in my project and I want to make llvm a git submodule in my project.<br>
<br>
<a href="http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project" target="_blank">http://llvm.org/docs/CMake.htm<wbr>l#embedding-llvm-in-your-proje<wbr>ct</a><br>
<br>
At this in the documentation it claims to describe how to embed llvm into a project. I tried it that way but it doesn't work, because there isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i don't know if there was one in the past).<br>
<br>
<br>
Can someone tell me how to do it now.<br>
<br>
<br>
Timo Janssen<br>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a>llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div>