[cmake-developers] find_program HINTS no longer preferred over PATH

Brad King brad.king at kitware.com
Wed Sep 9 14:20:01 EDT 2015


On 09/09/2015 11:50 AM, Chuck Atkins wrote:
> From what I can tell, the search order is still preserved as expected.

The example Marc attached earlier shows that the problem is when
ENV{PATH} contains one of the *same* values that is one of the HINTS.
The fact that a path appears in ENV{PATH} somehow causes it to be
dropped from the list of HINTS or otherwise ordered after the other
hints.

-Brad



More information about the cmake-developers mailing list