On 12/22/2011 12:23 PM, pellegrini wrote:
> Hi all,
>
> I have a program that uses an external library whose path name depends
> on its version (32 or 64 bit).
>
> Is there a direct way in cmake to test whether my cpu is 32 or 64 bit ?
You don't actually care about the CPU, but the operating sys
Hi all,
I have a program that uses an external library whose path name depends
on its version (32 or 64 bit).
Is there a direct way in cmake to test whether my cpu is 32 or 64 bit ?
The one I found up to now is the following:
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(arch_64 TRUE)
else()
se