find_program doesn't detect the difference between 64 and 32 bit executable,
so I need to augment the search paths to avoid looking in 64 bit locations
on a 32 bit system.
James
On Mon, Oct 26, 2009 at 6:55 PM, David Cole wrote:
> On Win64, in a 32-bit calling environment, there are two environ
On Win64, in a 32-bit calling environment, there are two environment
variables with values like this:
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
In a pure 64-bit calling environment, there is just:
PROCESSOR_ARCHITECTURE=AMD64
(and no value for PROCESSOR_ARCHITEW6432)
...so: you coul
All the WIN32 flags say they are valid for WIN64 machines. Is there no
equivalent WIN64 flag to determine if the OS is 32 or 64 bit regardless of
the bitness of the build?
Thanks,
James
___
Powered by www.kitware.com
Visit other Kitware open-source pro