[cmake-developers] [BUG] HINTS not correctly handled in find_program

Brad King brad.king at kitware.com
Wed Sep 2 08:58:54 EDT 2015


On 09/02/2015 05:31 AM, CHEVRIER, Marc wrote:
> find_program (MY_EXE my_exe HINTS PATH1 PATH2 PATH3)

Try it with

 find_program (MY_EXE
   NAMES my_exe
   HINTS PATH1 PATH2 PATH3
   )

-Brad



More information about the cmake-developers mailing list