<font face="monospace" size="3"><b>hi,Óscar:</b></font><div><b style="font-family:monospace;font-size:medium">  </b><br>   >LLVM_INSTALL_PREFIX is supposed to contain the value of<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>CMAKE_INSTALL_PREFIX when you configured LLVM. Using it for setting<br>>other variables is just a convenience.<br>
<div class="im"></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Ok, I understood your point, so I'd like to develop another patch to make it relocatable and respect the original meanings.</div>
</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>CMAKE_CURRENT_LIST_FILE can be used instead (just take the directory<br>>part) but I don't know when it was introduced. In<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CMAKE_CURRENT_LIST_FILE  is introduced at least in 2.6.4, if for compatibility reasons , get_file_component and this var can achieve the same effect. <br><br><div class="im">>No, it is the responsability of the user to adjust CMAKE_MODULE_PATH for</div>
>containing the directory where LLVMConfig.cmake is. See<br></blockquote><div><br></div><div>   Ok, I understood your design principles, so I'd develp another patch.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>Why? Please describe a case.<br>
<div class="im HOEnZb">I need to do some futher experiment and to see whether I have been wrong.<br><br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div>