[CMake] Nonstandard architectures.

Bill Hoffman bill.hoffman at kitware.com
Thu Sep 27 10:31:22 EDT 2007


Andreas Pakulat wrote:
>
>
>   
>> But cmake looks in */lib 
>> directories where some x86 libs are present that are not present for the 
>> x86-64 case.
>> The question here is even worse - which one is the native one?? lib or lib64??
>> And which ones should cmake accept?
>>     
>
> I think there's a way to tell CMake to either use lib or lib64,
> something like LIB_SUFFIX.
>   
CMake does a test for sizeof void* if it is 8 bytes then lib64 is 
searched before lib in all FIND_* stuff.

-Bill



More information about the CMake mailing list