On 09/02/2015 09:09 AM, CHEVRIER, Marc wrote: > On 02/09/15 14:58, "Brad King" wrote: >> On 09/02/2015 05:31 AM, CHEVRIER, Marc wrote: >>> find_program (MY_EXE my_exe HINTS PATH1 PATH2 PATH3) >> >> find_program (MY_EXE >> NAMES my_exe >> HINTS PATH1 PATH2 PATH3 >> ) > Same problem. HINTS which are also defined in the environment > variable PATH are ignored.
I'm having trouble reproducing this. Please provide a tarball with a full CMakeLists.txt and supporting files that demonstrate this. You can "set(ENV{PATH} ...)" if needed. Thanks, -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