[cmake-developers] [RESEND] [PATCH] x32-abi support #15994 (without line wrapping!)

Rolf Eike Beer eike at sf-mail.de
Tue Feb 28 15:38:56 EST 2017


> +  PATH_SUFFIXES libx32 lib64 lib lib32

> +  PATH_SUFFIXES lib64 libx32)

> +            /usr/local/libx32
>              /usr/local/lib64
>              /usr/local/lib
> +            /usr/libx32
>              /usr/lib64
>              /usr/lib
>              /usr/X11R6/include

> +  list(APPEND ice_library_suffixes "libx32" "${_lib64}" "lib${_x64}" "lib")

And so on…

Shouldn't we think of providing some sort of variable that holds those things? 
Maybe one that even knows what kind of distro is used (I remember there is 
some sort of lib64 special casing for Debian), so the chance of a direct hit 
is bigger?

Yes, there will always be modules that need to override this (e.g. for 
Windows), but it could make things a lot easier for the "normal case". 
Something like GNUInstallDirs backwards or so.

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20170228/45d9cb9a/attachment.sig>


More information about the cmake-developers mailing list