<div dir="ltr"><div style>This looks right to me.</div><div><br></div>Committed as r184732.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 4:59 AM, ÂÞÓ¸Õ(Yonggang Luo) <span dir="ltr"><<a href="mailto:luoyonggang@gmail.com" target="_blank">luoyonggang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please take a view of this patch,<br>
This patch solved a problem that when both Python 2.x and Python 3.x<br>
installed on the Windows, the CMake detect the python 3.x executable.<br>
<br>
<br>
<br>
Force to use python 2.x series of python.<br>
Because under Win32, that's possible both Python 2.x and Python 3.x installed.<br>
and then FindPythonInterp will found python 3.x by default.<br>
So we use set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 2.4)<br>
to force use 2.x series of Python if both Python 2.x and Python 3.x exist.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
         ´ËÖÂ<br>
Àñ<br>
ÂÞÓ¸Õ<br>
Yours<br>
    sincerely,<br>
Yonggang Luo<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>