[cmake-developers] [BUG] HINTS not correctly handled in find_program
Brad King
brad.king at kitware.com
Wed Sep 2 11:44:21 EDT 2015
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
More information about the cmake-developers
mailing list