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

CHEVRIER, Marc marc.chevrier at sap.com
Wed Sep 2 09:09:16 EDT 2015


Same problem. HINTS which are also defined in the environment variable PATH are ignored.



On 02/09/15 14:58, "Brad King" <brad.king at kitware.com> wrote:

>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