Any news on this subject? I think it is a critical bug because behaviour is broken. So I cannot rely on find_executable anymore to get the expected program!
Marc On 09/09/15 20:20, "Brad King" <brad.k...@kitware.com> wrote: >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 > -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers