Re: [cmake-developers] Issues with overriding Python version, possible bug?

2017-05-01 Thread Alan W. Irwin
On 2017-05-01 08:54-0400 Brad King wrote: On 04/29/2017 04:47 PM, Alan W. Irwin wrote: looks for Python 3, but if that does not exist it looks for Python 2. find_package(PythonInterp 3) find_package(PythonInterp 2) So far so good, but I am sure there will be some of our users that prefer Pyth

Re: [cmake-developers] Patch: Don't emit warning when config file not found

2017-05-01 Thread Brad King
On 04/28/2017 05:43 PM, Christoph GrĂ¼ninger wrote: > I attached two patches implementing it. Good start. Please reverse the order of the commits to convert to the nested conditions first. That will make the logic change in the second commit easier to follow. Also please update the test suite.

Re: [cmake-developers] Issues with overriding Python version, possible bug?

2017-05-01 Thread Brad King
On 04/29/2017 04:47 PM, Alan W. Irwin wrote: > looks for Python 3, but if that does not exist it looks for Python 2. > > find_package(PythonInterp 3) > find_package(PythonInterp 2) > > So far so good, but I am sure there will be some of our users that > prefer Python 2 even when Python 3 is insta